From: Rudolf Polzer Date: Wed, 19 Sep 2012 10:10:02 +0000 (+0200) Subject: demo packer: actually use extra cmdline args X-Git-Tag: xonotic-v0.7.0~42 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2d00455dc754af41e6419a4a08fb81203020f2bd;p=xonotic%2Fxonotic.git demo packer: actually use extra cmdline args --- 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