Stop using deprecated argument syntax for macOS codesign

This commit is contained in:
Dan Stillman 2024-07-25 02:07:13 -04:00
parent ef2cceba7e
commit 4bd46821de

View file

@ -583,7 +583,7 @@ if [ $BUILD_MAC == 1 ]; then
if [ -d "$APPDIR/Contents/PlugIns/ZoteroSafariExtension.appex" ]; then
echo
# Extract entitlements, which differ from parent app
/usr/bin/codesign -d --entitlements :"$BUILD_DIR/safari-entitlements.plist" $SAFARI_APPEX
/usr/bin/codesign -d --entitlements "$BUILD_DIR/safari-entitlements.plist" --xml "$SAFARI_APPEX"
# Add suffix to appex bundle identifier
if [ $UPDATE_CHANNEL == "beta" ] || [ $UPDATE_CHANNEL == "dev" ] || [ $UPDATE_CHANNEL == "source" ]; then