Update codesign.bash

Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
This commit is contained in:
mr. m
2025-01-08 14:44:49 +01:00
committed by GitHub
parent e6b6f0fc7a
commit d7c8bc246b

View File

@@ -138,10 +138,6 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
find "${BUNDLE}"/Contents/Resources/gmp-clearkey -type f -exec \
codesign --force -o runtime --verbose --sign "$IDENTITY" {} \;
# move Zen_Browser.provisionprofile to the Contents directory
cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
# Sign the main bundle
codesign --force -o runtime --verbose --sign "$IDENTITY" \
--entitlements ${BROWSER_ENTITLEMENTS_FILE} "${BUNDLE}"
@@ -154,6 +150,9 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
# Validate
codesign -vvv --deep --strict "${BUNDLE}"
# move Zen_Browser.provisionprofile to the Contents directory
cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
# Create a DMG
if [ ! -z "${OUTPUT_DMG_FILE}" ]; then
DISK_IMAGE_DIR=`mktemp -d`