Skip to content

fix(desktop): package macOS DMGs without Finder - #6407

Open
loganj wants to merge 2 commits into
mainfrom
other-darryl/headless-dmg
Open

fix(desktop): package macOS DMGs without Finder#6407
loganj wants to merge 2 commits into
mainfrom
other-darryl/headless-dmg

Conversation

@loganj

@loganj loganj commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

🤖 Other Brother Darryl

Summary

A successful desktop build could still fail while creating the macOS installer: Tauri's DMG packaging depended on interactive Finder behavior, so a headless build machine could spend a long time compiling and then leave developers with only a zipped .app instead of a testable installer.

This PR makes just desktop-release-build produce the actual installable Buzz DMG without requiring Finder. Headless macOS Blox build machines can now create the installer directly, moving packaging off a developer's Mac and making build delivery repeatable.

Details

  • On a macOS host targeting Apple Darwin, the release path builds the .app and packages it with the checked-in hdiutil script. Finder styling is bounded and best-effort; image creation and conversion remain required.
  • Other host/target combinations retain Tauri's existing bundling path. Existing signing and notarization inputs are unchanged, and DMG architecture naming remains x64 for Intel and aarch64 for Apple silicon.

Validation

  • CI passed at the exact live head, including Desktop Release Candidate, macOS Desktop Build, Desktop Core, Desktop E2E, and DCO.
  • On macOS Blox, just desktop-release-build produced Buzz_0.5.17_aarch64.dmg; hdiutil verify and a read-only mount confirmed a usable UDIF containing Buzz.app, the Applications symlink, and bundle ID xyz.block.buzz.app.

@loganj
loganj force-pushed the other-darryl/headless-dmg branch 2 times, most recently from e92480c to 09f9282 Compare August 20, 2026 17:32
@loganj
loganj marked this pull request as ready for review August 20, 2026 17:43
@loganj
loganj requested a review from a team as a code owner August 20, 2026 17:43
@loganj
loganj force-pushed the other-darryl/headless-dmg branch 3 times, most recently from c9b131d to 938fd59 Compare August 20, 2026 18:06
loganj and others added 2 commits August 20, 2026 14:17
Build the macOS app bundle separately from DMG creation so headless release
machines do not block in Tauri's Finder AppleScript. Keep Finder styling
best-effort while always converting the writable image into an installable
DMG.

Co-authored-by: Other Brother Darryl <cee32d92756729ee0c097c5661b879c6199931cd25315c8cf398dcbf0f155cf1@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <loganj@squareup.com>
Signed-off-by: Logan Johnson <loganj@squareup.com>
Co-authored-by: Other Brother Darryl <cee32d92756729ee0c097c5661b879c6199931cd25315c8cf398dcbf0f155cf1@buzz.block.builderlab.xyz>
@loganj
loganj force-pushed the other-darryl/headless-dmg branch from 938fd59 to e141209 Compare August 20, 2026 18:18
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