feat(desktop): add close-to-tray option#3030
Closed
wade19990814-hue wants to merge 5 commits into
Closed
Conversation
4972175 to
314f3ae
Compare
Contributor
Author
|
Hi @SivanColal, could you take a look when you have a moment? I rebased this PR onto the latest |
JimmyDaddy
pushed a commit
to JimmyDaddy/DeepSeek-Reasonix
that referenced
this pull request
Jun 5, 2026
…engine#3209) Add a desktop close-to-tray option: closing the window can hide to a tray icon (Windows/Linux menu with Open/Quit, platform guards) instead of quitting. Rebased onto main-v2 with the macOS system-quit hook (esengine#3203) — both run at startup; beforeClose keeps system-quit bypass ahead of close-to-background. Original author: @wade19990814-hue. Closes esengine#3030
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
closeToTraysetting stored inUserConfigDir/reasonix/desktop.jsonOpen/Quitactions onlyCloses #3014
Notes
.icofor the tray icon, while macOS/Linux keep using the PNG app icon.打开/退出). Screenshots were captured locally by the tester.ScreenShot
Test plan
cd desktop && go test -count=1 ./...cd desktop/frontend && pnpm exec tsc --noEmitcd desktop && wails build