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 068478a..9b42422 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 580e4db..afaf50a 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 1d57888..f4324c1 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' \