mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-01 08:09:59 +02:00
MacQetDeploy_arm64.sh add Enable hardened runtime flag to fix notarization
Add process to Upload a macOS app to be notarized and validate before upload to QET download servers
This commit is contained in:
@@ -214,7 +214,7 @@ if [ -d "${QET_EXAMPLES_DIR}" ]; then
|
|||||||
cp ${current_dir}/examples/*.qet $BUNDLE/Contents/Resources/examples
|
cp ${current_dir}/examples/*.qet $BUNDLE/Contents/Resources/examples
|
||||||
|
|
||||||
fi
|
fi
|
||||||
codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" $BUNDLE
|
codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" --options=runtime $BUNDLE
|
||||||
### create zip tarball ###############################################
|
### create zip tarball ###############################################
|
||||||
|
|
||||||
echo
|
echo
|
||||||
@@ -223,6 +223,14 @@ echo "Create zip tarball:"
|
|||||||
|
|
||||||
/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
||||||
|
|
||||||
|
### notarize zip tarball ###############################################
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "______________________________________________________________"
|
||||||
|
echo "Notarize zip tarball:"
|
||||||
|
|
||||||
|
xcrun notarytool submit build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip --keychain-profile "org.qelectrotech" --wait
|
||||||
|
|
||||||
### The end, process is done ##########################################
|
### The end, process is done ##########################################
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user