Skip to content

Branded DMG install window styled after the landing page - #7

Merged
duckyquang merged 1 commit into
mainfrom
feat/branded-dmg-window
Jul 13, 2026
Merged

Branded DMG install window styled after the landing page#7
duckyquang merged 1 commit into
mainfrom
feat/branded-dmg-window

Conversation

@duckyquang

Copy link
Copy Markdown
Owner

What

Gives the macOS .dmg a branded install window instead of the bare default Finder view, styled as a miniature of the landing page (duckyquang.github.io/Donna).

  • src-tauri/tauri.conf.jsonbundle.macOS.dmg: 660x420 window, app icon at (170,220), Applications folder at (490,220), custom background image.
  • src-tauri/dmg/background.png — 1320x840 px stamped to 144 DPI so Finder renders it retina-crisp at 660x420 pt. Landing-page design language: cream #f6f0e6 dot-grid ground, white pill badge with the Donna face logo, two-tone hero headline ("Drag Donna" ink / "into Applications" muted), two floating mini-cards in opposite corners, terracotta arrow between the icon slots, and a bottom hint for the unsigned-app quarantine dialog: open Terminal and run xattr -cr /Applications/Donna.app.
  • scripts/build-dmg-background.mjs — reproducible generator: renders an HTML art board with playwright-core (2x device scale screenshot), stamps DPI via sips. Run with npm i --no-save playwright-core && node scripts/build-dmg-background.mjs.

No TIFF fallback was needed — the 144 DPI PNG scales correctly.

Verified

  • node scripts/build-dmg-background.mjs produces 1320x840 @ 144 DPI (visually reviewed).
  • Full build: bash scripts/build-sidecar.sh + npm run tauri build -- --bundles dmg succeeds; background path resolves.
  • Mounted the built DMG: Donna.app, Applications symlink, and .background/background.png all present; embedded PNG checksum matches the committed asset.

🤖 Generated with Claude Code

- bundle.macOS.dmg config: 660x420 window, app icon at (170,220),
  Applications at (490,220), custom background
- src-tauri/dmg/background.png: 1320x840 @144dpi (retina 2x), cream
  dot-grid ground, Donna pill badge, two-tone hero headline, floating
  mini-cards, terracotta drag arrow, xattr fix hint for the unsigned-app
  "damaged" dialog
- scripts/build-dmg-background.mjs: reproducible generator (playwright-core
  screenshot of an HTML art board + sips DPI stamp)

Co-Authored-By: Claude Fable 5 <[email protected]>
@duckyquang
duckyquang merged commit 2ae2c85 into main Jul 13, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant