mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-20 22:35:39 +00:00
Refactor codesign process and update build configuration
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user