2016-07-05 14:54:49 +02:00
|
|
|
#!/bin/bash
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
cd ../../
|
2015-11-18 17:32:02 +01:00
|
|
|
mkdir -p gui/deploy
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2016-06-29 18:28:12 +02:00
|
|
|
# Edit version
|
2017-07-17 10:05:08 +02:00
|
|
|
version=0.5.3
|
2016-06-29 18:28:12 +02:00
|
|
|
|
2017-06-28 01:00:49 +02:00
|
|
|
jarFile="/media/sf_vm_shared_ubuntu/Bisq-$version.jar"
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
# Note: fakeroot needs to be installed on linux
|
|
|
|
$JAVA_HOME/bin/javapackager \
|
|
|
|
-deploy \
|
2016-06-29 18:28:12 +02:00
|
|
|
-Bruntime="$JAVA_HOME/jre" \
|
|
|
|
-BappVersion=$version \
|
2017-02-11 12:46:50 -05:00
|
|
|
-Bcategory=Network \
|
2015-03-05 20:36:42 +01:00
|
|
|
-BlicenseType=GPLv3 \
|
2015-04-16 11:43:39 +02:00
|
|
|
-BlicenseFile=LICENSE \
|
2015-03-05 20:36:42 +01:00
|
|
|
-Bicon=package/linux/icon.png \
|
|
|
|
-native deb \
|
2017-06-27 02:50:31 +02:00
|
|
|
-name Bisq \
|
|
|
|
-title Bisq \
|
|
|
|
-vendor Bisq \
|
2015-04-16 11:43:39 +02:00
|
|
|
-outdir gui/deploy \
|
2017-07-17 00:18:21 +02:00
|
|
|
-srcfiles $jarFile \
|
2015-04-16 11:43:39 +02:00
|
|
|
-srcfiles package/linux/LICENSE \
|
2017-06-27 01:29:51 +02:00
|
|
|
-appclass io.bisq.gui.app.BisqAppMain \
|
|
|
|
-BjvmOptions=-Xss1280k \
|
2017-06-28 01:00:49 +02:00
|
|
|
-outfile Bisq
|
2017-06-27 01:29:51 +02:00
|
|
|
|
|
|
|
# when we have support for security manager we use that
|
|
|
|
# \
|
|
|
|
# -BjvmOptions=-Djava.security.manager \
|
|
|
|
# -BjvmOptions=-Djava.security.debug=failure \
|
|
|
|
# -BjvmOptions=-Djava.security.policy=file:bisq.policy
|
2017-06-28 01:08:43 +02:00
|
|
|
# -srcfiles "core/src/main/resources/bisq.policy" \
|
2017-06-27 01:29:51 +02:00
|
|
|
|
2015-03-05 20:36:42 +01:00
|
|
|
|
2016-08-26 15:54:27 +02:00
|
|
|
# uncomment because the build VM does not support alien
|
2017-06-27 01:29:51 +02:00
|
|
|
#sudo alien -r -c -k gui/deploy/bundles/bisq-$version.deb
|
2016-08-07 05:10:27 +02:00
|
|
|
|
2017-06-28 01:00:49 +02:00
|
|
|
cp "gui/deploy/bundles/bisq-$version.deb" "/home/mk/Desktop/Bisq-64bit-$version.deb"
|
|
|
|
mv "gui/deploy/bundles/bisq-$version.deb" "/media/sf_vm_shared_ubuntu/Bisq-64bit-$version.deb"
|
|
|
|
#mv "bisq-$version-1.x86_64.rpm" "/media/sf_vm_shared_ubuntu/Bisq-64bit-$version.rpm"
|
2016-08-07 05:10:27 +02:00
|
|
|
rm -r gui/deploy/
|
2015-12-30 14:37:36 +01:00
|
|
|
|
2017-06-27 01:29:51 +02:00
|
|
|
cd package/linux
|