From 41fa3a906395ec0b606d0b46ae09cdba692583c9 Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Tue, 20 Apr 2021 15:26:12 +0200 Subject: [PATCH] Only bundle Raspberry Pi on macOS --- desktop/package/package.gradle | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/desktop/package/package.gradle b/desktop/package/package.gradle index f33581c603..3782c39219 100644 --- a/desktop/package/package.gradle +++ b/desktop/package/package.gradle @@ -225,10 +225,13 @@ task packageInstallers { String appVersion = version.replaceAll("-SNAPSHOT", "") println "Packaging Bisq version ${appVersion}" - // zip jar lib for Raspberry Pi - println "Zipping jar lib for raspberry pi" - ant.zip(basedir: "${project(':desktop').buildDir}/app/lib", - destfile: "${binariesFolderPath}/jar-lib-for-raspberry-pi-${appVersion}.zip") + // zip jar lib for Raspberry Pi only on macOS as there are path issues on Windows and it is only needed once + // for the release + if (Os.isFamily(Os.FAMILY_MAC)) { + println "Zipping jar lib for raspberry pi" + ant.zip(basedir: "${project(':desktop').buildDir}/app/lib", + destfile: "${binariesFolderPath}/jar-lib-for-raspberry-pi-${appVersion}.zip") + } String appDescription = 'A decentralized bitcoin exchange network.' String appCopyright = '© 2021 Bisq'