Commit 9543f22
authored
🤖 Fix: Restore base64: prefix for CSC_LINK (#75)
## Problem
PR #74 removed the `base64:` prefix from `CSC_LINK`, but
electron-builder requires this prefix to distinguish between:
- A file path to a certificate file
- Inline base64-encoded certificate data
Without the prefix, electron-builder treats the base64 string as a file
path and fails to find the certificate.
## Solution
Restore the `base64:` prefix:
```yaml
CSC_LINK: base64:${{ secrets.MACOS_CERTIFICATE }}
```
## How it works
- `MACOS_CERTIFICATE` secret contains the raw base64-encoded .p12
certificate
- The `base64:` prefix tells electron-builder to decode the certificate
data inline
- Electron-builder creates a temporary keychain and imports the
certificate automatically
## References
- Codex comment on PR #74 identifying the issue
- electron-builder documentation on CSC_LINK format
_Generated with `cmux`_1 parent 4dcc846 commit 9543f22
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments