Ship a drag-to-Applications installer instead of a zip

The Desktop artefact is now Work-<version>.dmg rather than a zip: an
installer is what someone expects to be handed, rather than a bare bundle
to file away themselves. Same single build behind both destinations.
This commit is contained in:
2026-09-02 06:36:28 +02:00
parent c96154ca33
commit c989fef6fe
2 changed files with 17 additions and 12 deletions
+3 -3
View File
@@ -101,11 +101,11 @@ npm run ship
One build, two destinations, every time:
- `/Applications/Work.app` — the copy tested here
- `~/Desktop/Work-<version>.zip` — the copy to send someone else
- `~/Desktop/Work-<version>.dmg` — the installer to send someone else
Both come from the same build, so a tester runs byte for byte what was just verified
rather than a second build that drifted. The zip is made with `ditto`, not `zip`: a plain
zip mangles the bundle's symlinks and the app will not open on the other machine.
rather than a second build that drifted. The disk image is the ordinary drag-to-Applications
kind — what someone expects to be handed, rather than a bare bundle to file themselves.
The app is ad-hoc signed, so the first launch on someone else's Mac needs
**right-click → Open** rather than a double-click. Gatekeeper refuses it silently