diff --git a/build.gradle b/build.gradle index 9ff189c3..bc234a01 100644 --- a/build.gradle +++ b/build.gradle @@ -275,7 +275,7 @@ jlink { } if(os.linux) { if(headless) { - installerOptions = ['--license-file', 'LICENSE', '--resource-dir', 'src/main/deploy/package/linux-headless/'] + installerOptions = ['--license-file', 'LICENSE', '--resource-dir', "src/main/deploy/package/linux-headless/${osArch}"] } else { installerOptions += ['--resource-dir', 'src/main/deploy/package/linux/', '--linux-shortcut', '--linux-menu-group', 'Sparrow'] } diff --git a/src/main/deploy/package/linux-headless/aarch64/control b/src/main/deploy/package/linux-headless/aarch64/control new file mode 100644 index 00000000..08ad7d63 --- /dev/null +++ b/src/main/deploy/package/linux-headless/aarch64/control @@ -0,0 +1,9 @@ +Package: sparrow +Version: 2.0.1-1 +Section: utils +Maintainer: Craig Raw +Priority: optional +Architecture: arm64 +Provides: sparrow +Description: Sparrow +Depends: libc6, zlib1g diff --git a/src/main/deploy/package/linux-headless/control b/src/main/deploy/package/linux-headless/x64/control similarity index 100% rename from src/main/deploy/package/linux-headless/control rename to src/main/deploy/package/linux-headless/x64/control