mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-08-02 13:57:35 +08:00
修复Cursor脚本中的输出格式问题,优化了安全提示信息的可读性,提升了用户在执行机器码配置修改时的体验。同时,调整了启动Cursor生成配置文件的注释格式,确保信息更加清晰易懂。
This commit is contained in:
parent
a530e42de6
commit
c5c4b62612
1565
scripts/run/cursor_win_id_modifier copy.ps1
Normal file
1565
scripts/run/cursor_win_id_modifier copy.ps1
Normal file
File diff suppressed because it is too large
Load Diff
@ -644,7 +644,7 @@ function Modify-MachineCodeConfig {
|
|||||||
Write-Host " 🔹 sqmId: $SQM_ID"
|
Write-Host " 🔹 sqmId: $SQM_ID"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host "$GREEN💾 [备份]$NC 原配置已备份至: $backupName"
|
Write-Host "$GREEN💾 [备份]$NC 原配置已备份至: $backupName"
|
||||||
Write-Host "$BLUE🔒 [安全]$NC 建议重启Cursor以确保配置生效"
|
Write-Host "$BLUE 🔒 [安全]$NC 建议重启Cursor以确保配置生效"
|
||||||
return $true
|
return $true
|
||||||
} else {
|
} else {
|
||||||
Write-Host "$RED❌ [失败]$NC 第 $retryCount 次尝试验证失败"
|
Write-Host "$RED❌ [失败]$NC 第 $retryCount 次尝试验证失败"
|
||||||
@ -699,7 +699,7 @@ function Modify-MachineCodeConfig {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 🚀 启动Cursor生成配置文件
|
# 启动Cursor生成配置文件
|
||||||
function Start-CursorToGenerateConfig {
|
function Start-CursorToGenerateConfig {
|
||||||
Write-Host "$BLUE🚀 [启动]$NC 正在尝试启动Cursor生成配置文件..."
|
Write-Host "$BLUE🚀 [启动]$NC 正在尝试启动Cursor生成配置文件..."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user