Skip to content

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

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
desktop-close-hides
Open

fix(desktop): preserve macOS app on window close#40974
opencode-agent[bot] wants to merge 1 commit into
v2from
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)

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