mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-09-18 20:14:41 -04:00
Support generation of native installer binaries
Use `./gradlew run` to build and run Bitsquare directly. Use `./gradlew shadowJar` to generate a portable, executable jar. Use `./gradlew packageNative` to generate an installer binary specific to the platform you are running on. In the case of Windows, it is necessary to copy the two .dll files in the `package/` directory to the directory where Bitsquare.exe is ultimately installed. Resolves #243
This commit is contained in:
parent
9c8b76d2b6
commit
1323e77608
6 changed files with 67 additions and 0 deletions
24
package/mac.sh
Executable file
24
package/mac.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
version=$1
|
||||
jar=$2
|
||||
mainClass=$3
|
||||
|
||||
javapackager \
|
||||
-deploy \
|
||||
-BappVersion=$version \
|
||||
-Bmac.CFBundleIdentifier=bitsquare \
|
||||
-Bmac.CFBundleName=Bitsquare \
|
||||
-Bruntime="$JAVA_HOME/../../" \
|
||||
-native dmg \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir build \
|
||||
-srcfiles $jar \
|
||||
-appclass $mainClass \
|
||||
-outfile Bitsquare
|
||||
|
||||
#-Bicon=client/icons/mac.icns \
|
Loading…
Add table
Add a link
Reference in a new issue