From a978152e45780a9d05b05d877048629528190a6a Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 20 Oct 2014 01:34:14 +0100 Subject: [PATCH] Auto-zip windows builds --- data/windows/{README => README.txt} | 0 data/windows/build-win32.sh | 7 +++++++ data/windows/build-win64.sh | 7 +++++++ 3 files changed, 14 insertions(+) rename data/windows/{README => README.txt} (100%) diff --git a/data/windows/README b/data/windows/README.txt similarity index 100% rename from data/windows/README rename to data/windows/README.txt diff --git a/data/windows/build-win32.sh b/data/windows/build-win32.sh index 91972bdd4..74e7073f6 100755 --- a/data/windows/build-win32.sh +++ b/data/windows/build-win32.sh @@ -100,6 +100,13 @@ make -C unzipfx-carla-control -f Makefile.win32 clean rm -f Carla.zip CarlaControl.zip rm -f unzipfx-*/*.exe +rm -rf Carla-2.0beta3-win32 +mkdir Carla-2.0beta3-win32 +mkdir Carla-2.0beta3-win32/vcredist +cp Carla.exe README.txt Carla-2.0beta3-win32 +cp ~/.cache/winetricks/vcrun2010/vcredist_x86.exe Carla-2.0beta3-win32/vcredist +zip -r -9 Carla-2.0beta3-win32.zip Carla-2.0beta3-win32 + cd ../.. # Testing: diff --git a/data/windows/build-win64.sh b/data/windows/build-win64.sh index 3dec8d54b..09dfc22c7 100755 --- a/data/windows/build-win64.sh +++ b/data/windows/build-win64.sh @@ -101,6 +101,13 @@ make -C unzipfx-carla-control -f Makefile.win32 clean rm -f Carla.zip CarlaControl.zip rm -f unzipfx-*/*.exe +rm -rf Carla-2.0beta3-win64 +mkdir Carla-2.0beta3-win64 +mkdir Carla-2.0beta3-win64/vcredist +cp Carla.exe README.txt Carla-2.0beta3-win64 +cp ~/.cache/winetricks/vcrun2010/vcredist_x64.exe Carla-2.0beta3-win64/vcredist +zip -r -9 Carla-2.0beta3-win64.zip Carla-2.0beta3-win64 + cd ../.. # Testing: