修复普通开机自启未写入注册表#101
Merged
Akiha-Official merged 1 commit intoMay 2, 2026
Merged
Conversation
DoomVoss
approved these changes
May 2, 2026
Akiha-Official
approved these changes
May 2, 2026
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
修复控制面板中普通开机自启不会正确写入 Windows Run 注册表项的问题,并补充回归测试。
Problem
当前保存“开机自动启动”设置时,代码只处理高权限自启使用的计划任务。用户只勾选普通自启、不启用管理员权限时,旧的计划任务会被删除,但没有重新写入
HKCU\Software\Microsoft\Windows\CurrentVersion\Run,导致普通自启可能不生效。Changes
Validation
dotnet test E:\issue\BASpark\BASpark.sln -c Release --verbosity minimaldotnet build E:\issue\BASpark\BASpark.sln -c Release