Added editor and runner scripts

This commit is contained in:
Emmet K
2024-11-18 11:46:36 -06:00
parent c7f045f9be
commit c8a2259fbc
2 changed files with 14 additions and 0 deletions

7
editor.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
PROJ_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd );
cd "$PROJ_DIR" &> /dev/null || exit;
godot4 --path "$PROJ_DIR" --editor &> /dev/null & disown || exit;

7
run.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
PROJ_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd );
cd "$PROJ_DIR" &> /dev/null || exit;
godot4 --path "$PROJ_DIR" &> /dev/null & disown || exit;