refactor: Streamline Cursor app modification script workflow

- Removed unnecessary function calls in main script execution
- Simplified post-configuration process by focusing on essential registry updates
- Removed redundant file tree display after configuration changes
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2025-02-13 17:24:10 +08:00
parent 73773be6d8
commit 19f4beec47

View File

@ -468,10 +468,8 @@ try {
Write-Host "$GREEN[信息]$NC 保持默认设置,不进行更改"
}
# 在主要配置修改后添加注册表修改
Generate-NewConfig
# 保留有效的注册表更新
Update-MachineGuid
Show-FileTree
} catch {
Write-Host "$RED[错误]$NC 主要操作失败: $_"