mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-02 06:36:22 -04:00
update build file structure, add win ico
This commit is contained in:
parent
3f2531960b
commit
7fc485dd88
27 changed files with 80 additions and 22 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/1.jar
|
||||
|
||||
|
@ -9,7 +10,7 @@ java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updat
|
|||
# Note: fakeroot needs to be installed on linux
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
-BappVersion=0.1 \
|
||||
-BappVersion=0.1.1-SNAPSHOT \
|
||||
-Bcategory=Finance \
|
||||
-Bemail=info@bitsquare.io \
|
||||
-BlicenseType=GPLv3 \
|
||||
|
@ -23,3 +24,5 @@ $JAVA_HOME/bin/javapackager \
|
|||
-outfile Bitsquare
|
||||
|
||||
# TODO icons: -Bicon=client/icons/icon.png \
|
||||
|
||||
cd package/linux
|
||||
|
|
21
package/linux/build_setup.sh
Normal file
21
package/linux/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/linux/build_update.sh
Normal file
12
package/linux/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
|
Loading…
Add table
Add a link
Reference in a new issue