Repository navigation
PowerShell 版去掉 -NoBackup 开关 - #33
Merged
Merged
Conversation
Merged
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.
GUI 和 Python 版一直是「先备份注册表、备份失败就不删」,没有跳过备份的选项。PowerShell 版的 -NoBackup 与之不一致(审计 #11),现在删除:参数、帮助说明、提权时的参数透传、README 参数表、E2E 测试里的变量。备份逻辑本身只是去掉外层 if 并减少缩进,内容不变(git diff -w 可见)。注意:旧命令行如果还带 -NoBackup,会报「找不到参数」。