Files
Emberwild/play.sh

13 lines
387 B
Bash
Executable File

#!/bin/sh
# Starts Emberwild (the game, with its window and title screen).
#
# ./play.sh
#
# Set GODOT=/path/to/godot to use a particular Godot. Any extra arguments go
# to Godot (e.g. ./play.sh --fullscreen). Checks Godot is 4.7+ and imports a
# fresh copy once first, the same as server/run_server.sh.
cd "$(dirname "$0")" || exit 1
. tools/godot_env.sh
exec "$GODOT" --path . "$@"