Browse Source

Refactor cursor ID modifier scripts to improve output formatting and consistency

- Moved the display of public account information to the end of the output in the macOS script for better user experience.
- Adjusted the placement of public account information in the Windows script to enhance visibility and maintain consistency across platforms.
- Ensured that the message prompting users to restart Cursor is clearly presented in both scripts.
pull/122/head v0.0.41
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
4b90d906ba
  1. 2
      scripts/run/cursor_mac_id_modifier.sh
  2. 14
      scripts/run/cursor_win_id_modifier.ps1

2
scripts/run/cursor_mac_id_modifier.sh

@ -236,8 +236,8 @@ main() {
echo
log_info "操作完成!"
show_follow_info
show_file_tree
show_follow_info
log_info "请重启 Cursor 以应用新的配置"
echo
}

14
scripts/run/cursor_win_id_modifier.ps1

@ -160,12 +160,7 @@ Write-Host "$BLUE[调试]$NC macMachineId: $MAC_MACHINE_ID"
Write-Host "$BLUE[调试]$NC devDeviceId: $UUID"
Write-Host "$BLUE[调试]$NC sqmId: $SQM_ID"
# 显示公众号信息
Write-Host ""
Write-Host "$GREEN================================$NC"
Write-Host "$YELLOW 关注公众号【煎饼果子卷AI】一起交流更多Cursor技巧和AI知识 $NC"
Write-Host "$GREEN================================$NC"
Write-Host ""
# 显示文件树结构
Write-Host ""
@ -185,7 +180,12 @@ if ($backupFiles) {
Write-Host "│ └── (空)"
}
Write-Host ""
# 显示公众号信息
Write-Host ""
Write-Host "$GREEN================================$NC"
Write-Host "$YELLOW 关注公众号【煎饼果子卷AI】一起交流更多Cursor技巧和AI知识 $NC"
Write-Host "$GREEN================================$NC"
Write-Host ""
Write-Host "$GREEN[信息]$NC 请重启 Cursor 以应用新的配置"
Write-Host ""

Loading…
Cancel
Save