Commit d92e6de
Add mac zip target so electron-updater gets latest-mac.yml (#8)
The v0.2.0 release succeeded (assets signed, notarized, uploaded) but was
missing `latest-mac.yml` — electron-builder only emits that manifest when
it builds a publishable macOS archive itself. With `target: dir` alone it
just hands us an unpacked .app and skips the manifest entirely, which
means every macOS user we ship to would never auto-update.
Fix: add `zip` as a second macOS target. electron-builder builds both in
one pass:
- `dir` → feeds scripts/repack-dmg.sh for the human-facing styled DMG
- `zip` → what electron-updater downloads at runtime; writes
`latest-mac.yml` listing it + a matching `.blockmap` for
delta updates
Upload glob in release.yml gets `*.zip` so the archive reaches the
Release page. README still points users at the DMG (zip is for the
updater, not humans).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8c8ff84 commit d92e6de
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments