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) {