mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
fix(desktop): add CSC_NAME for MAS signing with pnpm
electron-builder 26.3.6 fixed auto-discovery for Developer ID certificates but not for "3rd Party Mac Developer Application" certificates used in MAS builds. The after-pack.js script successfully finds and uses the MAS certificate for signing the proxy binary, but electron-builder's own signing mechanism fails to auto-discover it, falling back to ad-hoc signing. Add explicit CSC_NAME env var to the MAS build step in the workflow to tell electron-builder exactly which certificate to use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1
.github/workflows/build-desktop.yml
vendored
1
.github/workflows/build-desktop.yml
vendored
@@ -1763,6 +1763,7 @@ jobs:
|
||||
APP_STORE_CONNECT_AUTH_KEY: 6TV9MKN3GP
|
||||
APP_STORE_CONNECT_AUTH_KEY_PATH: ~/private_keys/AuthKey_6TV9MKN3GP.p8
|
||||
CSC_FOR_PULL_REQUEST: true
|
||||
CSC_NAME: "Bitwarden Inc"
|
||||
run: pnpm run pack:mac:mas
|
||||
|
||||
- name: Create MacOS App Store build number artifact
|
||||
|
||||
Reference in New Issue
Block a user