From 8a19156349b27dbf75d14bcb7c60119a91b0eb58 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Sun, 23 Aug 2026 08:43:12 +0200 Subject: [PATCH] fix skipInstallers property being ignored and document its use --- README.md | 4 ++++ build.gradle | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9285a63f..49b5d40a 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ The Sparrow binaries can be built from source using `./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). When updating to the latest HEAD diff --git a/build.gradle b/build.gradle index 57731d80..7fe200e7 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,7 @@ if(System.getProperty("os.arch") == "aarch64") { releaseArch = "aarch64" } def headless = "true".equals(System.getProperty("java.awt.headless")) +def skipInstallers = "true".equals(findProperty("skipInstallers")) group = 'com.sparrowwallet' version = '2.5.4' @@ -267,7 +268,7 @@ jlink { imageName = "Sparrow" installerName = "Sparrow" appVersion = "${version}" - skipInstaller = os.macOsX || properties.skipInstallers + skipInstaller = os.macOsX || skipInstallers 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'] if(os.windows) {