forked from chengazhen/cursor-auto-free
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(reset_machine): 优化代码结构并提高可读性
- 调整了代码缩进,使逻辑层次更清晰 - 移除了多余的 else 语句,简化了代码结构 - 统一了备份文件存在性和权限检查的逻辑 - 优化了配置恢复过程的代码顺序 - 调整了 0.45.0 版本以上恢复逻辑,提高了代码的可维护性
- Loading branch information
Showing
1 changed file
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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