Skip to content

Commit

Permalink
Refactor cursor ID modifier scripts to improve output formatting and …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
yuaotian committed Jan 8, 2025
1 parent 9495ba7 commit 4b90d90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/run/cursor_mac_id_modifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ main() {

echo
log_info "操作完成!"
show_follow_info
show_file_tree
show_follow_info
log_info "请重启 Cursor 以应用新的配置"
echo
}
Expand Down
14 changes: 7 additions & 7 deletions scripts/run/cursor_win_id_modifier.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand All @@ -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 ""

Expand Down

0 comments on commit 4b90d90

Please sign in to comment.