Refactor codesign process and update build configuration

This commit is contained in:
mr. M
2025-01-07 11:31:48 +01:00
parent 9bfd96a9dd
commit e27f558146
3 changed files with 10 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ jobs:
fi
if [[ $(git branch --show-current) != $branch ]]; then
echo ">>> Branch mismatch"
exit 1
# exit 1
else
echo ">>> Branch matches"
fi

View File

@@ -150,6 +150,12 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
# Validate
codesign -vvv --deep --strict "${BUNDLE}"
echo "Showing up app entitlements"
codesign -d --entitlements :- "${BUNDLE}"
echo "Verifying app"
codesign --verify --deep --strict "${BUNDLE}"
# Create a DMG
if [ ! -z "${OUTPUT_DMG_FILE}" ]; then
DISK_IMAGE_DIR=`mktemp -d`
@@ -166,4 +172,4 @@ if [ ! -z "${OUTPUT_DMG_FILE}" ]; then
rm ${TEMP_FILE}
rm ${TEMP_DMG}
rm -rf "${DISK_IMAGE_DIR}"
fi
fi

View File

@@ -7,8 +7,8 @@ export MOZ_MACBUNDLE_ID=${appId}
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
if test "$ZEN_RELEASE"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
#export MOZ_PGO=1
#ac_add_options MOZ_PGO=1
fi
if test "$SURFER_COMPAT" = "x86_64"; then