play.sh to start the game; Godot checks shared with run_server.sh
This commit is contained in:
12
play.sh
Executable file
12
play.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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 . "$@"
|
||||
Reference in New Issue
Block a user