Skip to content

fix(desktop): preserve macOS app on window close - #40974

Merged
Brendonovich merged 1 commit into
devfrom
desktop-close-hides
Aug 7, 2026
Merged

fix(desktop): preserve macOS app on window close#40974
Brendonovich merged 1 commit into
devfrom
desktop-close-hides

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the macOS app running when its last window closes
  • restore the persisted window when the Dock icon activates the app again
  • preserve normal close-and-quit behavior on Windows and Linux

Testing

  • bun typecheck (packages/desktop)
  • bun test src/main/window-registry.test.ts src/main/index.test.ts (packages/desktop)

Requested by: @Brendonovich (Brendan Allan via Slack)

@opencode-agent
opencode-agent Bot changed the base branch from v2 to dev August 7, 2026 07:08
@opencode-agent
opencode-agent Bot force-pushed the desktop-close-hides branch from 5bcbb0f to efad8d5 Compare August 7, 2026 07:10
@Brendonovich
Brendonovich enabled auto-merge (squash) August 7, 2026 07:11
@Brendonovich
Brendonovich merged commit b467518 into dev Aug 7, 2026
9 checks passed
@Brendonovich
Brendonovich deleted the desktop-close-hides branch August 7, 2026 07:25
HQ123-BOOP pushed a commit to HQ123-BOOP/LibreCode that referenced this pull request Aug 7, 2026
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant