Skip to content

Commit 4b90d90

Browse files
committed
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.
1 parent 9495ba7 commit 4b90d90

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

scripts/run/cursor_mac_id_modifier.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ main() {
236236

237237
echo
238238
log_info "操作完成!"
239-
show_follow_info
240239
show_file_tree
240+
show_follow_info
241241
log_info "请重启 Cursor 以应用新的配置"
242242
echo
243243
}

scripts/run/cursor_win_id_modifier.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,7 @@ Write-Host "$BLUE[调试]$NC macMachineId: $MAC_MACHINE_ID"
160160
Write-Host "$BLUE[调试]$NC devDeviceId: $UUID"
161161
Write-Host "$BLUE[调试]$NC sqmId: $SQM_ID"
162162

163-
# 显示公众号信息
164-
Write-Host ""
165-
Write-Host "$GREEN================================$NC"
166-
Write-Host "$YELLOW 关注公众号【煎饼果子卷AI】一起交流更多Cursor技巧和AI知识 $NC"
167-
Write-Host "$GREEN================================$NC"
168-
Write-Host ""
163+
169164

170165
# 显示文件树结构
171166
Write-Host ""
@@ -185,7 +180,12 @@ if ($backupFiles) {
185180
Write-Host "│ └── (空)"
186181
}
187182
Write-Host ""
188-
183+
# 显示公众号信息
184+
Write-Host ""
185+
Write-Host "$GREEN================================$NC"
186+
Write-Host "$YELLOW 关注公众号【煎饼果子卷AI】一起交流更多Cursor技巧和AI知识 $NC"
187+
Write-Host "$GREEN================================$NC"
188+
Write-Host ""
189189
Write-Host "$GREEN[信息]$NC 请重启 Cursor 以应用新的配置"
190190
Write-Host ""
191191

0 commit comments

Comments
 (0)