Skip to content

PowerShell 版去掉 -NoBackup 开关 - #33

Merged
HenryYannis merged 1 commit into
mainfrom
fix/remove-nobackup
Oct 23, 2026
Merged

HenryYannis merged 1 commit into
mainfrom
fix/remove-nobackup

Conversation

@HenryYannis

Copy link
Copy Markdown
Owner

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

@HenryYannis
HenryYannis merged commit cd1d3fd into main Oct 23, 2026
10 checks passed
@HenryYannis
HenryYannis deleted the fix/remove-nobackup branch October 23, 2026 13:35
@HenryYannis HenryYannis mentioned this pull request Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant