Skip to content

feat(desktop): add close-to-tray option (rebase of #3030)#3209

Merged
esengine merged 5 commits into
main-v2from
feat/close-to-tray-3030
Jun 5, 2026
Merged

feat(desktop): add close-to-tray option (rebase of #3030)#3209
esengine merged 5 commits into
main-v2from
feat/close-to-tray-3030

Conversation

@esengine

@esengine esengine commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Rebase of #3030 onto current main-v2, resolving the desktop/app.go startup() conflict with the just-merged macOS system-quit hook (#3203): both installSystemQuitHook() and a.startTray() now run at startup, and beforeClose keeps the system-quit bypass ahead of the close-to-background path.

Adds a desktop close-to-tray option (tray icon + menu on Windows/Linux, supported-platform guards, Open/Quit entries) so closing the window can hide to the tray instead of quitting.

Original author: @wade19990814-hue (commits preserved).

Verified on Windows: wails build end-to-end (bindings + frontend + Go) green, go test ./... in desktop/ and go test ./internal/control/... in root both pass.

Closes #3030

@esengine esengine requested a review from SivanCola as a code owner June 5, 2026 07:44
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 5, 2026
@esengine esengine merged commit 33e64ee into main-v2 Jun 5, 2026
9 checks passed
@esengine esengine deleted the feat/close-to-tray-3030 branch June 5, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants