From 32c0e04c56d94d9f1bf6c477a51800b7361ad4b6 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Wed, 7 Aug 2024 09:13:14 +0200 Subject: [PATCH] Try to improve Unable to run the app on OSX https://qelectrotech.org/bugtracker/view.php?id=290 --- misc/MacQetDeploy_arm64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/MacQetDeploy_arm64.sh b/misc/MacQetDeploy_arm64.sh index a9cfa6c27..7b0af1bf8 100644 --- a/misc/MacQetDeploy_arm64.sh +++ b/misc/MacQetDeploy_arm64.sh @@ -231,7 +231,7 @@ echo echo "______________________________________________________________" echo "Create zip tarball:" -/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip" +/usr/bin/ditto -ck -rsrc --sequesterRsrc --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip" ### notarize zip tarball ############################################### echo -e "\033[1;31mWould you like to upload for Notarize packages "${APPNAME}"-"$VERSION"-"r$HEAD-arm64.zip", n/Y?.\033[m" @@ -294,7 +294,7 @@ echo echo "______________________________________________________________" echo "Re Create zip tarball:" -/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip" +/usr/bin/ditto -ck -rsrc --sequesterRsrc --keepParent/ $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip" # Clean up disk folder