mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
21 lines
No EOL
1.2 KiB
Batchfile
21 lines
No EOL
1.2 KiB
Batchfile
cd ..\..\
|
|
|
|
:: edit iss file -> AppVersion=0.1.1
|
|
|
|
call mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
|
:: edit buildVersion number
|
|
copy gui\target\shaded.jar gui\updatefx\builds\1.jar
|
|
|
|
:: edit url
|
|
call java -Xmx2048m -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
|
|
|
:: 64 bit build
|
|
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
|
|
:: Build with jdk1.8.0_40 fails but jdk1.8.0_3 works
|
|
:: edit buildVersion and fullVersion number
|
|
call "C:\Program Files\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_31\jre"
|
|
|
|
:: 32 bit build
|
|
:: call "C:\Program Files (x86)\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files (x86)\Java\jdk1.8.0_31\jre"
|
|
|
|
cd package\windows |