From: Mario Date: Tue, 26 May 2020 14:55:34 +0000 (+1000) Subject: Add -nocrashdialog to scripts that automate a game session, to ensure they are not... X-Git-Tag: xonotic-v0.8.5~88 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=37ba76c6b924c3ce4268f61936c3ed5a0817c5ca;ds=sidebyside Add -nocrashdialog to scripts that automate a game session, to ensure they are not stopped by a popup error message --- diff --git a/misc/tools/demopacker.sh b/misc/tools/demopacker.sh index 068478ac..9b424226 100755 --- a/misc/tools/demopacker.sh +++ b/misc/tools/demopacker.sh @@ -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() { diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.sh b/misc/tools/the-big-benchmark/the-big-benchmark.sh index 580e4dbb..afaf50ae 100755 --- a/misc/tools/the-big-benchmark/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark/the-big-benchmark.sh @@ -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) diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 1d578887..f4324c14 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -9,6 +9,7 @@ dummy=$1; shift count=`yes x | head -n "$count" | tr -cd x` ./all run \ + -nocrashdialog \ -nosound \ -noconfig \ +'locksession 0' \