Skip to content

Commit

Permalink
fix Qt 6.8.1 code signature on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Dec 8, 2024
1 parent e969b43 commit f1c4f87
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/codesign_and_notarize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ sudo xcode-select -s /Applications/Xcode.app/
SIGNER="Developer ID Application: Meltytech, LLC (Y6RX44QG2G)"
find ~/Desktop/Shotcut.app -type d -name __pycache__ -exec rm -r {} \+
find ~/Desktop/Shotcut.app/Contents -name '*.o' -exec rm {} \;
find ~/Desktop/Shotcut.app/Contents/lib -type f -exec codesign --options=runtime -v -s "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/Frameworks -type f -exec codesign --options=runtime -v -s "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/PlugIns -type f -exec codesign --options=runtime -v -s "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/Resources -type f -exec codesign --options=runtime -v -s "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/lib -type f -exec codesign --options=runtime --force --verbose --sign "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/Frameworks -type f -exec codesign --options=runtime --force --verbose --sign "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/PlugIns -type f -exec codesign --options=runtime --force --verbose --sign "$SIGNER" {} \;
find ~/Desktop/Shotcut.app/Contents/Resources -type f -exec codesign --options=runtime --force --verbose --sign "$SIGNER" {} \;
xattr -cr ~/Desktop/Shotcut.app
codesign --options=runtime -v -s "$SIGNER" \
codesign --options=runtime --force --verbose --sign "$SIGNER" \
--entitlements ./notarization.entitlements \
~/Desktop/Shotcut.app/Contents/MacOS/{melt,ffmpeg,ffplay,ffprobe,glaxnimate,gopro2gpx,whisper.cpp-main}
codesign --options=runtime -v -s "$SIGNER" \
codesign --options=runtime --force --verbose --sign "$SIGNER" \
--entitlements ./notarization.entitlements \
~/Desktop/Shotcut.app
codesign --verify --deep --strict --verbose=2 ~/Desktop/Shotcut.app
Expand Down

0 comments on commit f1c4f87

Please sign in to comment.