diff --git a/.github/workflows/maven-build-installer-unix.yml b/.github/workflows/maven-build-installer-unix.yml
index cb2d5055..72ff7377 100644
--- a/.github/workflows/maven-build-installer-unix.yml
+++ b/.github/workflows/maven-build-installer-unix.yml
@@ -25,7 +25,7 @@ jobs:
java-package: jdk+fx
cache: 'maven'
- name: Build with Maven
- run: mvn -B clean install --file RCaNconstructor/pom.xml
+ run: mvn -X -B clean install --file RCaNconstructor/pom.xml
- name: Update Automatic Release
uses: marvinpinto/action-automatic-releases@latest
with:
diff --git a/RCaNconstructor/pom.xml b/RCaNconstructor/pom.xml
index 4a0677d2..22181ee1 100644
--- a/RCaNconstructor/pom.xml
+++ b/RCaNconstructor/pom.xml
@@ -369,7 +369,8 @@
mac
- x86_64
+ x64
+
@@ -381,7 +382,8 @@
mac
- aarch64
+ x64
+
diff --git a/RCaNconstructor/src/packaging/macaarch64-jpackage.txt b/RCaNconstructor/src/packaging/macaarch64-jpackage.txt
new file mode 100644
index 00000000..609dc2fc
--- /dev/null
+++ b/RCaNconstructor/src/packaging/macaarch64-jpackage.txt
@@ -0,0 +1,10 @@
+--name ${app.name}
+--icon ${project.basedir}/app-icon.icns
+--dest ${project.build.directory}
+--main-jar ${project.build.finalName}.jar
+--main-class ${main-class}
+--input ${project.build.directory}/dependency
+--app-version ${app.version}
+--runtime-image ${project.build.directory}/jvm-image
+--temp ${project.build.directory}/installer-work
+--mac-sign