bisq/package/linux/create_app.sh

38 lines
1,010 B
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-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"
# 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
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
cd package/linux