2015-03-05 20:36:42 +01:00
#!/bin/bash
cd ../../
set -e
2015-03-06 23:40:42 +01:00
# Edit versions
buildVersion = 1
2015-03-05 22:19:48 +01:00
fullVersion = 0.1.1
2015-03-05 20:36:42 +01:00
2015-03-06 01:44:54 +01:00
# Copy jar file from mac build (1.jar from processed folder) to linux box
2015-03-05 20:36:42 +01:00
# Note: fakeroot needs to be installed on linux
$JAVA_HOME /bin/javapackager \
-deploy \
-BappVersion= $fullVersion \
-Bcategory= Finance \
-Bemail= team@bitsquare.io \
-BlicenseType= GPLv3 \
-Bicon= package/linux/icon.png \
-native deb \
-name Bitsquare \
-title Bitsquare \
-vendor Bitsquare \
-outdir gui/deploy \
2015-03-06 23:40:42 +01:00
-srcfiles gui/updatefx/builds/processed/$buildVersion .jar \
2015-03-05 20:36:42 +01:00
-appclass io.bitsquare.app.gui.BitsquareAppMain \
-outfile Bitsquare
cd package/linux
# TODO: Figure out where LICENSE file goes so distros don't complain about "low quality" packages.
2015-03-05 22:19:48 +01:00
# -BlicenseFile=LICENSE comlains about missing file (Bundler DEB Installer skipped because of a configuration problem: Specified license file is missing.
# Advice to fix: Make sure that references a file in the app resources, and that it is relative to the
# basedir.)