Files
OneCAD-Draft/packaging
Felix RiestraandClaude Sonnet 5 d9bad54e1e macOS DMG: add an Applications shortcut for drag-to-install
The DMG dropped just the bare .app with no indication of where it's
supposed to go, unlike the "drag the icon onto Applications" layout
every other Mac app uses. Stage the .app next to a symlink to
/Applications before building the image, then lay out the Finder
window's icon view (via a temporary read-write DMG, since a compressed
UDZO image can't be mounted for editing afterward) so both items are
visible side by side.

The Finder/AppleScript layout step is best-effort and fails gracefully:
this script mirrors the CI build-macos job, which likely has no
interactive Finder session for AppleScript to reach at all, so the
essential fix (the symlink itself, which doesn't depend on Finder
scripting) still lands even when the cosmetic pass can't run.

Fixes #769.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-15 11:29:57 +02:00
..