diff --git a/Java/scripts/build.sh b/Java/scripts/build.sh index 332aac7..c5b6b67 100755 --- a/Java/scripts/build.sh +++ b/Java/scripts/build.sh @@ -7,11 +7,11 @@ ORIGINAL_LOC=$(pwd) cd $OUT_DIR if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh - return + exit fi if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh - return + exit fi java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@" ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh \ No newline at end of file diff --git a/Java/scripts/build2.sh b/Java/scripts/build2.sh index 59f636f..53fe062 100644 --- a/Java/scripts/build2.sh +++ b/Java/scripts/build2.sh @@ -7,11 +7,11 @@ ORIGINAL_LOC=$(pwd) cd $OUT_DIR if java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+UseZGC "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh - return + exit fi if java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+UnlockExperimentalVMOptions -XX:+UseZGC "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh - return + exit fi java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+PrintCommandLineFlags "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@" ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh \ No newline at end of file diff --git a/Java/scripts/md5 b/Java/scripts/md5 index c341252..fd1d942 100644 --- a/Java/scripts/md5 +++ b/Java/scripts/md5 @@ -1,5 +1,5 @@ build2.sh:cf159b0f2193ff280c455a7547126073 - -build.sh:5a48a79ccbb92272c26bc461833586dd - +build.sh:5df470d49036bf7565493739aeebeaa8 - clean.sh:668a2f9b568c55f6a044a509315032f6 - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - jar2.sh:7977fc138ee5db798d08c34734f0be93 - diff --git a/runGame.command b/runGame.command index 686d505..af695f4 100755 --- a/runGame.command +++ b/runGame.command @@ -1,14 +1,14 @@ cd bin if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+UseZGC -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi cd .. \ No newline at end of file diff --git a/runGame.sh b/runGame.sh index 686d505..af695f4 100755 --- a/runGame.sh +++ b/runGame.sh @@ -1,14 +1,14 @@ cd bin if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+UseZGC -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi if java -Djava.library.path="../lib" -Xms2G -Xmx2G -XX:+PrintCommandLineFlags -jar RabiClone.jar; then cd .. - return + exit fi cd .. \ No newline at end of file