From 2d00455dc754af41e6419a4a08fb81203020f2bd Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 19 Sep 2012 12:10:02 +0200 Subject: [PATCH] demo packer: actually use extra cmdline args --- misc/tools/demopacker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools/demopacker.sh b/misc/tools/demopacker.sh index d49c4003..78e79494 100755 --- a/misc/tools/demopacker.sh +++ b/misc/tools/demopacker.sh @@ -9,7 +9,7 @@ demobase=${demo##*/} cp "$demo" data/"$demobase" -strace -qo strace.txt -f -e trace=open ./all run -nohome -readonly -forceqmenu -window -demo "$demobase" +strace -qo strace.txt -f -e trace=open ./all run -nohome -readonly -forceqmenu -window "$@" -demo "$demobase" allfiles() { @@ -78,7 +78,7 @@ cd output find . -type f -print0 | xargs -0 ../misc/tools/cached-converter.sh cd .. mv data/"$demobase" output/ -echo "-xonotic -nohome -readonly -forceqmenu +bind ESC quit -demo $demobase" > output/darkplaces.opt +echo "-xonotic -nohome -readonly -forceqmenu +bind ESC quit $* -demo $demobase" > output/darkplaces.opt rm output.pk3 ( cd output && zip -9r ../output.pk3 . ) cp "$xonotic" output.exe -- 2.39.2