X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=build.sh;h=89208061a7ca6fed988a564a5eca8969bb3892bb;hb=15beb60ade240af4e00b0d204f7e89a4d35dca36;hp=28ef0e739fab6865581b86599ad2c081c4037d05;hpb=a98ce96041b248580c0447bf87d4c6106483cade;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/build.sh b/build.sh index 28ef0e7..8920806 100755 --- a/build.sh +++ b/build.sh @@ -57,7 +57,7 @@ compile_miniaudio(){ # TODO run_game(){ cd $_linux_folder - ./skaterift + ./skaterift --samples=4 cd ./../ } @@ -73,9 +73,13 @@ delay_run_game(){ } link_content(){ - ln -sr bin/content/textures/ $1/textures - ln -sr bin/content/models/ $1/models - ln -sr bin/content/sound/ $1/sound + unlink $1/textures + unlink $1/models + unlink $1/sound + + ln -srf bin/content/textures $1/textures + ln -srf bin/content/models $1/models + ln -srf bin/content/sound $1/sound } TIMESTAMP=`date +%Y-%m-%d_%H-%M-%S` @@ -217,6 +221,7 @@ vg_command(){ tar -chzvf dist/skaterift_server__$TIMESTAMP.tar.gz bin/linux_server logit "Windows" tar -chzvf dist/skaterift_win32__$TIMESTAMP.tar.gz bin/win32/ + zip -r9 dist/skaterift_win32__$TIMESTAMP.zip bin/win32/ ;; # Runners # ========================================================================