Commit 2d1c295
committed
v0.2.2: fix malformed ad-hoc signature on macOS DMG
Set bundle.macOS.signingIdentity = "-" so Tauri runs codesign --force --deep
after assembling the .app, properly sealing Resources/ and Info.plist.
Before: linker-only signature, "Sealed Resources=none", spctl rejected with
"code has no resources but signature indicates they must be present" — Mac
users got the harshest "MDHero is damaged" Gatekeeper dialog and couldn't
work around it with right-click → Open.
After: proper ad-hoc signature with Sealed Resources v2 (verified locally
via codesign -dv + codesign --verify --deep --strict). Gatekeeper still
rejects (no Developer ID; that requires the $99/yr Apple Developer Program)
but with the friendlier "Apple cannot verify..." dialog that *does* allow
the right-click → Open workaround.1 parent 07679a4 commit 2d1c295
4 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments