feat(app): 添加自启动参数实现自启动重复启动静默退出#1782
Merged
Merged
Conversation
HelloWRC
reviewed
May 2, 2026
HelloWRC
left a comment
Member
There was a problem hiding this comment.
应该简化启动快捷方式过期检验方式。可以考虑在 SettingsService 的迁移设置阶段中,应用从小于等于 2.0.3.2 的版本升级时,通过重新设置 PlatformServices.IsAutoStartEnabled 来更新自启动快捷方式。
HelloWRC
approved these changes
May 5, 2026
Member
|
感谢您的贡献🤝 @all-contributors please add @xfy2412 for code |
Contributor
|
I've put up a pull request to add @xfy2412! 🎉 |
Koharu-Mizuki
pushed a commit
to Koharu-Mizuki/ClassIsland-RB
that referenced
this pull request
May 24, 2026
* feat(app): 添加自启动参数实现自启动重复启动静默退出 * feat(app): 自动检查自启动快捷方式参数 * refactor: 重构自启动快捷方式检查方法 * refactor: 使用更简化的方式迁移自启动快捷方式
Koharu-Mizuki
pushed a commit
to Koharu-Mizuki/ClassIsland-RB
that referenced
this pull request
Jun 19, 2026
* feat(app): 添加自启动参数实现自启动重复启动静默退出 * feat(app): 自动检查自启动快捷方式参数 * refactor: 重构自启动快捷方式检查方法 * refactor: 使用更简化的方式迁移自启动快捷方式
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.

这个 Pull Request 做了什么?
添加了一个--autostartup参数用于标识系统自启动来源的程序启动,并且在启用自启动时创建的快捷方式中自动添加此参数,当携带此参数启动程序并检测到已有其他实例正在运行时直接退出,不弹出提示窗口
检查清单