aboutsummaryrefslogtreecommitdiff
path: root/setup/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-21 22:00:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-21 22:00:42 +1300
commit0a355cc722ec1e47335c160787dfe271cdc22d0c (patch)
tree284f80599f32182c7c954b0ffa935cf243531e6d /setup/package.sh
parenteb30f49e52d569878552bf243915b7f7233e110c (diff)
downloadtrackermap-server-0a355cc722ec1e47335c160787dfe271cdc22d0c.tar.gz
trackermap-server-0a355cc722ec1e47335c160787dfe271cdc22d0c.tar.bz2
trackermap-server-0a355cc722ec1e47335c160787dfe271cdc22d0c.zip
Support Windows 64 installer
Diffstat (limited to 'setup/package.sh')
-rwxr-xr-xsetup/package.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index 5750eebd9..e792f6203 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -81,12 +81,30 @@ zip -j tracker-server-$1.zip ../target/tracker-server.jar universal/README.txt
innoextract isetup-*.exe
echo "NOTE: if you got any errors here try isetup version 5.5.0 (or check what versions are supported by 'innoextract -v')"
+# windows 32
+
wine app/ISCC.exe windows/traccar.iss
zip -j traccar-windows-32-$1.zip windows/Output/setup.exe windows/README.txt
rm -rf windows/Output/
rm -rf tmp/
+
+# windows 64
+
+unzip wrapper-windows-x86-64-*.zip
+cp wrapper_*_src/bin/wrapper.exe wrapper/bin/wrapper-windows-x86-32.exe
+cp wrapper_*_src/lib/wrapper.dll wrapper/lib/wrapper-windows-x86-32.dll
+cp wrapper_*_src/lib/wrapper.jar wrapper/lib/wrapper.jar
+rm -rf wrapper_*_src
+
+wine app/ISCC.exe windows/traccar.iss
+
+zip -j traccar-windows-64-$1.zip windows/Output/setup.exe windows/README.txt
+
+rm -rf windows/Output/
+rm -rf tmp/
+
rm -rf app/
# LINIX PACKAGE