fix skipInstallers property being ignored and document its use

This commit is contained in:
Craig Raw
2026-08-23 08:43:12 +02:00
parent 5b87f3512d
commit 8a19156349
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -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
View File
@@ -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) {