bisq/package/linux/create_64bit_app.sh

43 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
cd ../../
2015-11-18 17:32:02 +01:00
mkdir -p gui/deploy
set -e
# Edit version
version=0.4.9
jarFile="/media/sf_vm_shared_ubuntu/Bitsquare-$version.jar"
jdkfixFile="/media/sf_vm_shared_ubuntu/jdkfix-$version.jar"
# Note: fakeroot needs to be installed on linux
$JAVA_HOME/bin/javapackager \
-deploy \
-BjvmOptions=-Xbootclasspath/a:"jdkfix-$version.jar":"../runtime/lib/ext/jfxrt.jar" \
-Bruntime="$JAVA_HOME/jre" \
-BappVersion=$version \
-Bcategory=Internet \
-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 \
-srcfiles $jarFile:$jdkfixFile \
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-$version.deb" "gui/deploy/Bitsquare-$version.deb"
2015-12-30 19:17:07 +01:00
rmdir gui/deploy/bundles
cp "gui/deploy/Bitsquare-$version.deb" "/media/sf_vm_shared_ubuntu/Bitsquare-64bit-$version.deb"
cp "gui/deploy/Bitsquare-$version.deb" "/home/mk/Desktop/Bitsquare-64bit-$version.deb"
2015-12-30 14:37:36 +01:00
cd package/linux