mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
#!/bin/bash
|
|
|
|
cd ../../
|
|
mkdir -p gui/deploy
|
|
|
|
set -e
|
|
|
|
# Edit version
|
|
version=0.5.0
|
|
|
|
jarFile="/media/sf_vm_shared_ubuntu14_32bit/bisq-$version.jar"
|
|
|
|
# Note: fakeroot needs to be installed on linux
|
|
$JAVA_HOME/bin/javapackager \
|
|
-deploy \
|
|
-Bruntime="$JAVA_HOME/jre" \
|
|
-BappVersion=$version \
|
|
-Bcategory=Network \
|
|
-Bemail=team@bisq.io \
|
|
-BlicenseType=GPLv3 \
|
|
-BlicenseFile=LICENSE \
|
|
-Bicon=package/linux/icon.png \
|
|
-native deb \
|
|
-name Bisq \
|
|
-title Bisq \
|
|
-vendor Bisq \
|
|
-outdir gui/deploy \
|
|
-srcfiles $jarFile:$jdkfixFile \
|
|
-srcfiles "core/src/main/resources/bisq.policy" \
|
|
-srcfiles package/linux/LICENSE \
|
|
-appclass io.bisq.gui.app.BisqAppMain \
|
|
-BjvmOptions=-Xss1280k \
|
|
-outfile bisq
|
|
|
|
# when we have support for security manager we use that
|
|
# \
|
|
# -BjvmOptions=-Djava.security.manager \
|
|
# -BjvmOptions=-Djava.security.debug=failure \
|
|
# -BjvmOptions=-Djava.security.policy=file:bisq.policy
|
|
|
|
|
|
# sudo alien -r -c -k gui/deploy/bundles/bisq-$version.deb
|
|
|
|
cp "gui/deploy/bundles/bisq-$version.deb" "/home/bisq/Desktop/bisq-32bit-$version.deb"
|
|
mv "gui/deploy/bundles/bisq-$version.deb" "/media/sf_vm_shared_ubuntu14_32bit/bisq-32bit-$version.deb"
|
|
|
|
# mv "bisq-$version-1.i386.rpm" "/media/sf_vm_shared_ubuntu14_32bit/bisq-32bit-$version.rpm"
|
|
rm -r gui/deploy/
|
|
|
|
cd package/linux
|