update build file structure, add win ico
BIN
package/mac/Bitsquare.icns
Normal file
BIN
package/mac/Bitsquare.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
package/mac/Bitsquare.iconset/icon_128x128@2x.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
package/mac/Bitsquare.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
package/mac/Bitsquare.iconset/icon_16x16@2x.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
package/mac/Bitsquare.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
package/mac/Bitsquare.iconset/icon_256x256@2x.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
package/mac/Bitsquare.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
package/mac/Bitsquare.iconset/icon_32x32@2x.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
package/mac/Bitsquare.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
package/mac/Bitsquare.iconset/icon_512x512@2x.png
Normal file
After Width: | Height: | Size: 64 KiB |
25
package/mac/build_create_app.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/1.jar
|
||||
|
||||
# edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
-BappVersion=0.1.1-SNAPSHOT \
|
||||
-Bmac.CFBundleIdentifier=bitsquare \
|
||||
-Bmac.CFBundleName=Bitsquare \
|
||||
-Bruntime="$JAVA_HOME/../../" \
|
||||
-native dmg \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/1.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
||||
|
||||
cd package/mac
|
21
package/mac/build_setup.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# setup dirs
|
||||
cd ../../
|
||||
mkdir gui/updatefx
|
||||
mkdir gui/updatefx/builds
|
||||
mkdir gui/updatefx/builds/processed
|
||||
mkdir gui/updatefx/site
|
||||
mkdir gui/deploy
|
||||
|
||||
# create key/wallet. Copy wallet to UpdateProcess or use wallet form other OS build
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
cd package/mac
|
||||
|
||||
# start webserver for update data
|
||||
# cd gui/updatefx/site
|
||||
# python -m SimpleHTTPServer 8000
|
||||
|
||||
# create icons
|
||||
# iconutil -c icns package/bitsquare.iconset
|
12
package/mac/build_update.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
# edit version /*.jar
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/2.jar
|
||||
|
||||
# edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
cd package/mac
|