Remove preserve-metadata option from codesign for zen executable and main bundle

This commit is contained in:
mr. M
2025-01-07 16:53:18 +01:00
parent 049a0f8729
commit d9813e2b03

View File

@@ -127,7 +127,6 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
# Sign zen main executable
codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
--preserve-metadata=identifier,entitlements,requirements \
--entitlements ${BROWSER_ENTITLEMENTS_FILE} \
"${BUNDLE}"/Contents/MacOS/zen
@@ -141,7 +140,6 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" {} \;
# Sign the main bundle
codesign --force -o runtime --verbose --sign "$IDENTITY" \
--preserve-metadata=identifier,entitlements,requirements \
--entitlements ${BROWSER_ENTITLEMENTS_FILE} "${BUNDLE}"
# Sign the plugin-container bundle with deep