mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-10-05 11:08:25 +00:00
fix skipInstallers property being ignored and document its use
This commit is contained in:
@@ -28,6 +28,10 @@ The Sparrow binaries can be built from source using
|
|||||||
|
|
||||||
`./gradlew jpackage`
|
`./gradlew jpackage`
|
||||||
|
|
||||||
|
On Linux distributions without `deb` or `rpm` packaging tools installed (such as Arch), building the installers can be skipped with
|
||||||
|
|
||||||
|
`./gradlew jpackage -PskipInstallers=true`
|
||||||
|
|
||||||
Note that to build the Windows installer, you will need to install [WiX](https://github.com/wixtoolset/wix3/releases).
|
Note that to build the Windows installer, you will need to install [WiX](https://github.com/wixtoolset/wix3/releases).
|
||||||
|
|
||||||
When updating to the latest HEAD
|
When updating to the latest HEAD
|
||||||
|
|||||||
+2
-1
@@ -18,6 +18,7 @@ if(System.getProperty("os.arch") == "aarch64") {
|
|||||||
releaseArch = "aarch64"
|
releaseArch = "aarch64"
|
||||||
}
|
}
|
||||||
def headless = "true".equals(System.getProperty("java.awt.headless"))
|
def headless = "true".equals(System.getProperty("java.awt.headless"))
|
||||||
|
def skipInstallers = "true".equals(findProperty("skipInstallers"))
|
||||||
|
|
||||||
group = 'com.sparrowwallet'
|
group = 'com.sparrowwallet'
|
||||||
version = '2.5.4'
|
version = '2.5.4'
|
||||||
@@ -267,7 +268,7 @@ jlink {
|
|||||||
imageName = "Sparrow"
|
imageName = "Sparrow"
|
||||||
installerName = "Sparrow"
|
installerName = "Sparrow"
|
||||||
appVersion = "${version}"
|
appVersion = "${version}"
|
||||||
skipInstaller = os.macOsX || properties.skipInstallers
|
skipInstaller = os.macOsX || skipInstallers
|
||||||
imageOptions = []
|
imageOptions = []
|
||||||
installerOptions = ['--file-associations', 'src/main/deploy/psbt.properties', '--file-associations', 'src/main/deploy/txn.properties', '--file-associations', 'src/main/deploy/asc.properties', '--license-file', 'LICENSE']
|
installerOptions = ['--file-associations', 'src/main/deploy/psbt.properties', '--file-associations', 'src/main/deploy/txn.properties', '--file-associations', 'src/main/deploy/asc.properties', '--license-file', 'LICENSE']
|
||||||
if(os.windows) {
|
if(os.windows) {
|
||||||
|
|||||||
Reference in New Issue
Block a user