bisq/package/linux/create_64bit_app.sh

39 lines
1.1 KiB
Bash
Raw Normal View History

#!/bin/bash
cd ../../
2015-11-18 17:32:02 +01:00
mkdir -p gui/deploy
set -e
2015-03-06 23:40:42 +01:00
# Edit versions
2016-04-28 22:24:51 +02:00
fullVersion=0.4.5
2015-12-30 14:30:24 +01:00
jarFile="/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-$fullVersion.jar"
# 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 \
-Bemail=team@bitsquare.io \
-BlicenseType=GPLv3 \
2015-04-16 11:43:39 +02:00
-BlicenseFile=LICENSE \
-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 \
-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
2016-04-16 22:36:34 +02:00
cp "gui/deploy/Bitsquare-$fullVersion.deb" "/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-64bit-$fullVersion.deb"
2016-04-23 01:22:06 +02:00
cp "gui/deploy/Bitsquare-64bit-$fullVersion.deb" "/home/mk/Desktop/Bitsquare-64bit-$fullVersion.deb"
2015-12-30 14:37:36 +01:00
cd package/linux