diff --git a/macosx_notarize.sh b/macosx_notarize.sh index 9d03242..f8f4e58 100755 --- a/macosx_notarize.sh +++ b/macosx_notarize.sh @@ -49,7 +49,8 @@ rm -f notarization.log echo "" # staple -mkdir -p "$1/Contents/CodeResources" || true +mkdir -p "$1/Contents" || true +ln -s -r "$1/Contents/CodeResources" "$1/_CodeSignature/CodeResources" xcrun stapler staple -v "$1" echo "##########################################################"