]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Add -nocrashdialog to scripts that automate a game session, to ensure they are not...
authorMario <mario@smbclan.net>
Tue, 26 May 2020 14:55:34 +0000 (00:55 +1000)
committerMario <mario@smbclan.net>
Tue, 26 May 2020 14:55:44 +0000 (00:55 +1000)
misc/tools/demopacker.sh
misc/tools/the-big-benchmark/the-big-benchmark.sh
misc/tools/xonotic-map-screenshot

index 068478ac3f3cf7e1f860669d8db3c49a6a9ffa80..9b424226314de33f4f480955c86997d8867f94e5 100755 (executable)
@@ -8,7 +8,7 @@ demobase=${demo##*/}
 
 cp "$demo" data/"$demobase"
 
-USE_RLWRAP=no strace -qo strace.txt -f -e trace=open ./all run -nohome -readonly -forceqmenu -window "$@" -demo "$demobase"
+USE_RLWRAP=no strace -qo strace.txt -f -e trace=open ./all run -nohome -readonly -forceqmenu -window -nocrashdialog "$@" -demo "$demobase"
 
 allfiles()
 {
index 580e4dbb531f978974e2c89e7b417c42f8c11e89..afaf50aef75cbe0f27a89041a9c8c97849bc60f8 100755 (executable)
@@ -38,7 +38,7 @@ if [ -f ./all ]; then
        ./all clean -fU -m -r
        ./all compile
        export USE_GDB=no
-       set -- ./all run "$@"
+       set -- ./all run -nocrashdialog "$@"
 elif [ -z "$*" ]; then
        case "`uname`" in
                Darwin)
index 1d578887c51b19faf6956ed3074218b9b8cb1c71..f4324c1467058b4941d6ea448993d12917fb54d6 100755 (executable)
@@ -9,6 +9,7 @@ dummy=$1; shift
 count=`yes x | head -n "$count" | tr -cd x`
 
 ./all run \
+       -nocrashdialog \
        -nosound \
        -noconfig \
        +'locksession 0' \