Try to improve Unable to run the app on OSX

https://qelectrotech.org/bugtracker/view.php?id=290
This commit is contained in:
Laurent Trinques 2024-08-07 09:13:14 +02:00 committed by GitHub
parent 57b5819f07
commit 32c0e04c56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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