chore: Update codesigning script to sign the .app bundle with Apple Developer ID certificate

This commit is contained in:
mauro-balades
2024-09-04 18:06:38 +02:00
parent b1d88a1ffb
commit 9e88f80d13
2 changed files with 6 additions and 161 deletions

View File

@@ -132,12 +132,12 @@ jobs:
ls engine
ls engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin
ls engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist
chmod +x ./build/codesign/sign.bash
./build/codesign/sign.bash \
-a "./engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist/Zen Browser.app" \
-i "${{ secrets.macOS_AppleDeveloperId }}" \
-b "./build/codesign/browser.developer.entitlements.xml" \
-p "./build/codesign/plugin-container.developer.entitlements.xml"
cd engine
./mach macos-sign \
--verbose \
-a "./obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist/Zen Browser.app" \
-s "${{ secrets.macOS_AppleDeveloperId }}" \
-e production
- name: Package
env: