Commit ad080af
committed
🤖 Fix: macOS code signing certificate import (#74)
Fixes the certificate import error in the macOS build.
## Problem
The previous implementation had a conflict:
1. Manual keychain creation + certificate import in a workflow step
2. Passing the certificate to electron-builder via `CSC_LINK`
This caused electron-builder to try importing the certificate again,
resulting in:
```
security: SecKeychainItemImport: Unknown format in import.
```
## Solution
Simplified the approach - let electron-builder handle everything:
- Removed manual keychain creation and certificate import
- Pass the raw base64 certificate string directly to electron-builder
- Electron-builder automatically detects base64 format and handles the
import
## Testing
This will be tested when merged to main.
_Generated with `cmux`_1 parent 4a624c9 commit ad080af
1 file changed
+1
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 29 | | |
55 | 30 | | |
56 | | - | |
| 31 | + | |
57 | 32 | | |
58 | 33 | | |
59 | 34 | | |
| |||
0 commit comments