2015-03-05 20:36:42 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd ../../
|
2015-11-18 17:32:02 +01:00
|
|
|
mkdir -p gui/deploy
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2015-03-06 23:40:42 +01:00
|
|
|
# Edit versions
|
2016-03-15 14:47:36 +01:00
|
|
|
fullVersion=0.3.6
|
2015-12-30 14:30:24 +01:00
|
|
|
jarFile="/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-$fullVersion.jar"
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
# Note: fakeroot needs to be installed on linux
|
|
|
|
$JAVA_HOME/bin/javapackager \
|
|
|
|
-deploy \
|
|
|
|
-BappVersion=$fullVersion \
|
2015-12-28 13:33:58 +01:00
|
|
|
-Bcategory=Office,Finance \
|
2015-03-05 20:36:42 +01:00
|
|
|
-Bemail=team@bitsquare.io \
|
|
|
|
-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 \
|
|
|
|
-name Bitsquare \
|
|
|
|
-title Bitsquare \
|
|
|
|
-vendor Bitsquare \
|
2015-04-16 11:43:39 +02:00
|
|
|
-outdir gui/deploy \
|
2015-12-30 14:30:24 +01:00
|
|
|
-srcfiles $jarFile \
|
2015-04-16 11:43:39 +02:00
|
|
|
-srcfiles package/linux/LICENSE \
|
|
|
|
-appclass io.bitsquare.app.BitsquareAppMain \
|
2015-03-05 20:36:42 +01:00
|
|
|
-outfile Bitsquare
|
|
|
|
|
2015-12-30 17:39:43 +01:00
|
|
|
rm gui/deploy/Bitsquare.html
|
2015-12-30 19:17:07 +01:00
|
|
|
rm gui/deploy/Bitsquare.jnlp
|
2015-12-30 17:39:43 +01:00
|
|
|
rm gui/deploy/LICENSE
|
|
|
|
mv "gui/deploy/bundles/bitsquare-$fullVersion.deb" "gui/deploy/Bitsquare-$fullVersion.deb"
|
2015-12-30 19:17:07 +01:00
|
|
|
rmdir gui/deploy/bundles
|
2015-12-30 17:39:43 +01:00
|
|
|
cp "gui/deploy/Bitsquare-$fullVersion.deb" "/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-$fullVersion.deb"
|
2015-12-30 14:37:36 +01:00
|
|
|
|
2015-05-15 19:05:23 +02:00
|
|
|
cd package/linux
|