diff --git a/package/windows/build_create_app.bat b/package/windows/build_create_app.bat index 17ef44e011..674e168d26 100644 --- a/package/windows/build_create_app.bat +++ b/package/windows/build_create_app.bat @@ -7,7 +7,15 @@ copy gui\target\shaded.jar gui\updatefx\builds\1.jar :: edit url call java -Xmx2048m -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx +:: 64 bit build :: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php) -call "c:\Program Files\Java\jdk1.8.0_40\bin\javapackager.exe" -deploy -BappVersion=0.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_40\jre" +call "C:\Program Files\Java\jdk1.8.0_40\bin\javapackager.exe" -deploy -BappVersion=0.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_40\jre" + +:: 32 bit build +call "C:\Program Files (x86)\Java\jdk1.8.0_40\bin\javapackager.exe" -deploy -BappVersion=0.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir + gui\deploy\win-32bit -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program + Files (x86)\Java\jdk1.8.0_40\jre" cd package\win \ No newline at end of file diff --git a/package/windows/build_setup.bat b/package/windows/build_setup.bat index 26ca2a23c9..4d2d5cfcae 100644 --- a/package/windows/build_setup.bat +++ b/package/windows/build_setup.bat @@ -7,6 +7,7 @@ mkdir gui\updatefx\builds mkdir gui\updatefx\builds\processed mkdir gui\updatefx\site mkdir gui\deploy +mkdir gui\win-32bit :: create key/wallet. Copy wallet to UpdateProcess or use wallet form other OS build call java -Xmx2048m -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx