Browse Source

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
pull/241/head v0.0.111
煎饼果子卷鲨鱼辣椒 4 months ago
parent
commit
19f4beec47
  1. 4
      scripts/run/cursor_win_id_modifier.ps1

4
scripts/run/cursor_win_id_modifier.ps1

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

Loading…
Cancel
Save