From 662e99188d99be7d3e347c249b5b8d322d0a0d61 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Mon, 30 Oct 2023 14:03:39 +0100 Subject: [PATCH] Added arch suffix in the fatJarLinux task --- build.gradle.kts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9e4af5e4..50872e34 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -143,9 +143,13 @@ compose.desktop { task("fatJarLinux", type = Jar::class) { + val archSuffix = if (isLinuxAarch64) { + "arm_aarch64" + } else { + "x86_64" + } - archiveBaseName.set("$projectName-linux") - + archiveBaseName.set("$projectName-linux-$archSuffix") duplicatesStrategy = DuplicatesStrategy.EXCLUDE manifest {