Repository navigation
feat(desktop): 增加托盘与开机启动设置 - #142
Merged
Merged
Conversation
关闭窗口默认留在托盘。托盘、最小化、开机启动和隐藏启动可在客户端设置中开关。 Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
Tanya7z
marked this pull request as ready for review
October 6, 2026 07:44
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.
变更
桌面端增加系统托盘和开机启动,可在侧栏「设置」或命令面板「客户端设置」里开关。
默认行为:
安装版才会写入系统登录项。开发模式只保存偏好,不把当前 Electron 进程登记进系统。托盘创建失败时,关闭和最小化仍按原来的方式离开窗口,避免进程留在后台却没有入口。
changeset 为 minor。合并版本 PR 后桌面版本会到 0.3.0。已经发出的
desktop-v0.2.0不会改动。验收
浏览器预览中打开设置,关掉托盘后「关闭时留在托盘」和「最小化到托盘」会禁用。命令面板搜索 tray 可打开同一对话框。系统托盘图标和开机启动项需要在 Windows 安装版上再确认。
客户端设置默认状态
desktop_client_settings_tray_autostart.mp4
To show artifacts inline, enable in settings.