mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
#!/bin/bash
|
|
|
|
cd ../../
|
|
mkdir -p gui/deploy
|
|
|
|
set -e
|
|
|
|
# Edit version
|
|
version=0.4.9
|
|
|
|
jarFile="/media/sf_vm_shared_ubuntu14_32bit/Bitsquare-$version.jar"
|
|
jdkfixFile="/media/sf_vm_shared_ubuntu14_32bit/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 \
|
|
-BlicenseFile=LICENSE \
|
|
-Bicon=package/linux/icon.png \
|
|
-native deb \
|
|
-name Bitsquare \
|
|
-title Bitsquare \
|
|
-vendor Bitsquare \
|
|
-outdir gui/deploy \
|
|
-srcfiles $jarFile:$jdkfixFile \
|
|
-srcfiles package/linux/LICENSE \
|
|
-appclass io.bitsquare.app.BitsquareAppMain \
|
|
-outfile Bitsquare
|
|
|
|
rm gui/deploy/Bitsquare.html
|
|
rm gui/deploy/Bitsquare.jnlp
|
|
rm gui/deploy/LICENSE
|
|
mv "gui/deploy/bundles/bitsquare-$version.deb" "gui/deploy/Bitsquare-32bit-$version.deb"
|
|
rmdir gui/deploy/bundles
|
|
cp "gui/deploy/Bitsquare-32bit-$version.deb" "/media/sf_vm_shared_ubuntu14_32bit/Bitsquare-32bit-$version.deb"
|
|
cp "gui/deploy/Bitsquare-32bit-$version.deb" "/home/bitsquare/Desktop/Bitsquare-32bit-$version.deb"
|
|
|
|
cd package/linux |