mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-21 21:34:18 -04:00
update build files
This commit is contained in:
parent
65ad9aa709
commit
22d1598566
5 changed files with 16 additions and 16 deletions
|
@ -42,7 +42,7 @@ public class PeerGroup implements MessageListener, ConnectionListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
setMaxConnectionsLowPriority(10);
|
setMaxConnectionsLowPriority(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final int MAX_REPORTED_PEERS = 1000;
|
private static final int MAX_REPORTED_PEERS = 1000;
|
||||||
|
|
|
@ -7,8 +7,8 @@ set -e
|
||||||
|
|
||||||
# Edit versions
|
# Edit versions
|
||||||
fullVersion=0.3.2.3
|
fullVersion=0.3.2.3
|
||||||
|
jarFile="/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-$fullVersion.jar"
|
||||||
|
|
||||||
# Copy jar file from mac build (1.jar from processed folder) to linux box
|
|
||||||
# Note: fakeroot needs to be installed on linux
|
# Note: fakeroot needs to be installed on linux
|
||||||
$JAVA_HOME/bin/javapackager \
|
$JAVA_HOME/bin/javapackager \
|
||||||
-deploy \
|
-deploy \
|
||||||
|
@ -23,9 +23,10 @@ $JAVA_HOME/bin/javapackager \
|
||||||
-title Bitsquare \
|
-title Bitsquare \
|
||||||
-vendor Bitsquare \
|
-vendor Bitsquare \
|
||||||
-outdir gui/deploy \
|
-outdir gui/deploy \
|
||||||
-srcfiles gui/deploy/Bitsquare.jar \
|
-srcfiles $jarFile \
|
||||||
-srcfiles package/linux/LICENSE \
|
-srcfiles package/linux/LICENSE \
|
||||||
-appclass io.bitsquare.app.BitsquareAppMain \
|
-appclass io.bitsquare.app.BitsquareAppMain \
|
||||||
-outfile Bitsquare
|
-outfile Bitsquare
|
||||||
|
-BjvmProperties=-Djava.net.preferIPv4Stack=true
|
||||||
|
|
||||||
cd package/linux
|
cd package/linux
|
|
@ -54,9 +54,5 @@
|
||||||
<dict>
|
<dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
<!-- /Applications/Utilities/defaults write io.bitsquare.Bitsquare NSAppSleepDisabled -bool YES -->
|
|
||||||
<!--<key>NSAppSleepDisabled</key>-->
|
|
||||||
<!--<bool>YES</bool>-->
|
|
||||||
|
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -8,7 +8,10 @@ set -e
|
||||||
fullVersion="0.3.2.3"
|
fullVersion="0.3.2.3"
|
||||||
|
|
||||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||||
cp gui/target/shaded.jar gui/deploy/Bitsquare.jar
|
|
||||||
|
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"
|
||||||
|
|
||||||
$JAVA_HOME/bin/javapackager \
|
$JAVA_HOME/bin/javapackager \
|
||||||
-deploy \
|
-deploy \
|
||||||
|
@ -22,12 +25,15 @@ $JAVA_HOME/bin/javapackager \
|
||||||
-title Bitsquare \
|
-title Bitsquare \
|
||||||
-vendor Bitsquare \
|
-vendor Bitsquare \
|
||||||
-outdir gui/deploy \
|
-outdir gui/deploy \
|
||||||
-srcfiles gui/deploy/Bitsquare.jar \
|
-srcfiles "gui/deploy/Bitsquare-$fullVersion.jar" \
|
||||||
-appclass io.bitsquare.app.BitsquareAppMain \
|
-appclass io.bitsquare.app.BitsquareAppMain \
|
||||||
-outfile Bitsquare \
|
-outfile Bitsquare \
|
||||||
-BjvmProperties=-Djava.net.preferIPv4Stack=true
|
-BjvmProperties=-Djava.net.preferIPv4Stack=true
|
||||||
|
|
||||||
cp gui/deploy/Bitsquare.jar /Users/mk/vm_shared_ubuntu/Bitsquare.jar
|
rm "gui/deploy/Bitsquare.html"
|
||||||
cp gui/deploy/Bitsquare.jar /Users/mk/vm_shared_windows/Bitsquare.jar
|
rm "gui/deploy/Bitsquare.jnlp"
|
||||||
|
|
||||||
|
mv "gui/deploy/bundles/Bitsquare.dmg" "gui/deploy/Bitsquare-$fullVersion.dmg"
|
||||||
|
rm gui/deploy/bundles
|
||||||
|
|
||||||
cd package/mac
|
cd package/mac
|
|
@ -8,9 +8,6 @@ mkdir gui\deploy
|
||||||
|
|
||||||
:: 64 bit build
|
:: 64 bit build
|
||||||
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
|
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
|
||||||
call "C:\Program Files\Java\jdk1.8.0_66\bin\javapackager.exe" -deploy -BappVersion=0.3.2.3 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "gui\deploy\Bitsquare.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_66\jre"
|
call "C:\Program Files\Java\jdk1.8.0_66\bin\javapackager.exe" -srcfiles "gui/deploy/Bitsquare-0.3.2.3.jar" -outfile Bitsquare -BappVersion=0.3.2.3 -Bruntime="C:\Program Files\Java\jdk1.8.0_66\jre -BjvmProperties=-Djava.net.preferIPv4Stack=true -deploy -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.BitsquareAppMain"
|
||||||
|
|
||||||
:: 32 bit build
|
|
||||||
:: call "C:\Program Files (x86)\Java\jdk1.8.0_66\bin\javapackager.exe" -deploy -BappVersion=0.3.2.3 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "gui\deploy\Bitsquare.jar" -outfile Bitsquare -Bruntime="C:\Program Files (x86)\Java\jdk1.8.0_66\jre"
|
|
||||||
|
|
||||||
cd package\windows
|
cd package\windows
|
Loading…
Add table
Add a link
Reference in a new issue