mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Add conditional PGO support for Zen release builds in macOS mozconfig
This commit is contained in:
@@ -36,7 +36,5 @@
|
||||
<key>com.apple.application-identifier</key>
|
||||
<string>H36NPCN86W.app.zen-browser.zen</string>
|
||||
|
||||
<!-- For platform passkey (webauthn) support -->
|
||||
<key>com.apple.developer.web-browser.public-key-credential</key><true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@@ -31,8 +31,6 @@
|
||||
# $ open ~/Nightly.app
|
||||
#
|
||||
|
||||
shopt -s globstar
|
||||
|
||||
usage ()
|
||||
{
|
||||
echo "Usage: $0 "
|
||||
@@ -114,7 +112,7 @@ echo "-------------------------------------------------------------------------"
|
||||
set -x
|
||||
|
||||
# move Zen_Browser.provisionprofile to the Contents directory
|
||||
cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
|
||||
#cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
|
||||
|
||||
# Clear extended attributes which cause codesign to fail
|
||||
xattr -cr "${BUNDLE}"
|
||||
@@ -124,7 +122,6 @@ xattr -cr "${BUNDLE}"
|
||||
codesign --force -o runtime --verbose --sign "$IDENTITY" \
|
||||
"${BUNDLE}/Contents/Library/LaunchServices/org.mozilla.updater" \
|
||||
"${BUNDLE}/Contents/MacOS/XUL" \
|
||||
"${BUNDLE}"/Contents/embedded.provisionprofile \
|
||||
"${BUNDLE}/Contents/MacOS/pingsender"
|
||||
|
||||
# Sign every ${BUNDLE}/Contents/MacOS/*.dylib
|
||||
@@ -159,17 +156,6 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
|
||||
# Validate
|
||||
codesign -vvv --deep --strict "${BUNDLE}"
|
||||
|
||||
# Staple the ticket
|
||||
xcrun notarytool submit "${BUNDLE}" \
|
||||
--apple-id "${MACOS_APPLE_ACCOUNT_ID}" \
|
||||
--team-id "${MACOS_APPLE_DEVELOPER_ID_TEAM_ID}" \
|
||||
--password "${MACOS_APPLE_DEVELOPER_ID_PASSWORD}" \
|
||||
--no-s3-acceleration \
|
||||
--verbose \
|
||||
--wait
|
||||
|
||||
xcrun stapler staple --verbose "${BUNDLE}" || exit 0
|
||||
|
||||
# Create a DMG
|
||||
if [ ! -z "${OUTPUT_DMG_FILE}" ]; then
|
||||
DISK_IMAGE_DIR=`mktemp -d`
|
||||
|
@@ -6,6 +6,7 @@ ac_add_options --enable-eme=widevine
|
||||
export MOZ_MACBUNDLE_ID=${appId}
|
||||
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
|
||||
|
||||
|
||||
if test "$SURFER_COMPAT" = "x86_64"; then
|
||||
ac_add_options --target=x86_64-apple-darwin
|
||||
|
||||
|
Reference in New Issue
Block a user