some bugfixes

This commit is contained in:
Ziver Koc 2023-09-28 22:14:13 +02:00
parent 198c681333
commit 54a9fcedf8

4
run.sh
View file

@ -34,7 +34,7 @@ until [[ $# -eq 0 ]]; do
;; ;;
--no-color) --no-color)
GRADLE_COLOR="--no-color" GRADLE_COLOR="--console=plain"
shift shift
;; ;;
@ -117,7 +117,7 @@ if [[ ${MODE} == "FOREGROUND" ]]; then
while [[ ${EXIT_CODE} -eq 200 ]]; do while [[ ${EXIT_CODE} -eq 200 ]]; do
# Restart as long as we have a exit code of 200, this allows the application to restart itself # Restart as long as we have a exit code of 200, this allows the application to restart itself
#startHal #startHal
./gradlew ${GRADLE_COLOR} --console=plain run ./gradlew ${GRADLE_COLOR} run
EXIT_CODE=$? EXIT_CODE=$?
done done
elif [[ ${MODE} == "BACKGROUND" ]]; then elif [[ ${MODE} == "BACKGROUND" ]]; then