2015-03-05 20:36:42 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd ../../
|
2015-11-18 17:32:02 +01:00
|
|
|
mkdir -p gui/deploy
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2016-06-17 01:54:38 +02:00
|
|
|
fullVersion="0.4.9"
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
2015-12-30 14:30:24 +01:00
|
|
|
|
|
|
|
cp gui/target/shaded.jar "gui/deploy/Bitsquare-$fullVersion.jar"
|
|
|
|
cp gui/target/shaded.jar "/Users/mk/vm_shared_ubuntu/Bitsquare-$fullVersion.jar"
|
|
|
|
cp gui/target/shaded.jar "/Users/mk/vm_shared_windows/Bitsquare-$fullVersion.jar"
|
2016-03-28 02:00:22 +02:00
|
|
|
cp gui/target/shaded.jar "/Users/mk/vm_shared_ubuntu14_32bit/Bitsquare-$fullVersion.jar"
|
|
|
|
cp gui/target/shaded.jar "/Users/mk/vm_shared_windows_32bit/Bitsquare-$fullVersion.jar"
|
|
|
|
|
2016-01-18 13:04:15 +01:00
|
|
|
cp seednode/target/SeedNode.jar "gui/deploy/SeedNode.jar"
|
2015-03-05 20:36:42 +01:00
|
|
|
|
|
|
|
$JAVA_HOME/bin/javapackager \
|
|
|
|
-deploy \
|
2016-06-21 23:03:39 +02:00
|
|
|
-BjvmOptions=-Xbootclasspath/p:"jdkfix/jdkfix-$fullVersion.jar":"$JAVA_HOME/../../jre/lib/ext/jfxrt.jar" \
|
2015-03-05 20:36:42 +01:00
|
|
|
-BappVersion=$fullVersion \
|
|
|
|
-Bmac.CFBundleIdentifier=io.bitsquare \
|
|
|
|
-Bmac.CFBundleName=Bitsquare \
|
|
|
|
-Bicon=package/mac/Bitsquare.icns \
|
|
|
|
-Bruntime="$JAVA_HOME/../../" \
|
|
|
|
-native dmg \
|
|
|
|
-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 "gui/deploy/Bitsquare-$fullVersion.jar" \
|
2015-04-16 11:43:39 +02:00
|
|
|
-appclass io.bitsquare.app.BitsquareAppMain \
|
2015-10-28 02:11:59 +01:00
|
|
|
-outfile Bitsquare \
|
|
|
|
-BjvmProperties=-Djava.net.preferIPv4Stack=true
|
2015-12-30 14:30:24 +01:00
|
|
|
|
|
|
|
rm "gui/deploy/Bitsquare.html"
|
|
|
|
rm "gui/deploy/Bitsquare.jnlp"
|
|
|
|
|
2016-04-23 14:05:57 +02:00
|
|
|
mv "gui/deploy/bundles/Bitsquare-$fullVersion.dmg" "gui/deploy/Bitsquare-$fullVersion.dmg"
|
2016-04-27 00:33:22 +02:00
|
|
|
rm -r "gui/deploy/bundles"
|
2016-04-23 14:05:57 +02:00
|
|
|
|
2016-04-27 00:33:22 +02:00
|
|
|
mv "gui/deploy/SeedNode.jar" "gui/deploy/SeedNode-$fullVersion.jar"
|
2016-04-23 14:05:57 +02:00
|
|
|
|
2015-11-18 22:58:41 +01:00
|
|
|
|
2016-06-21 23:03:39 +02:00
|
|
|
cd package/mac
|