From 11cda5b82dd24aa2bb663fdce2206e7309c79fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=85=8E=E9=A5=BC=E6=9E=9C=E5=AD=90=E5=8D=B7=E9=B2=A8?= =?UTF-8?q?=E9=B1=BC=E8=BE=A3=E6=A4=92?= Date: Mon, 10 Feb 2025 15:53:46 +0800 Subject: [PATCH] feat: Add Cursor application path definition for file modification - Defined a clear path constant for the Cursor application - Prepared for future file modification operations - Improved script configuration with explicit application location --- scripts/run/cursor_mac_id_modifier.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run/cursor_mac_id_modifier.sh b/scripts/run/cursor_mac_id_modifier.sh index fe70561..d73aa77 100644 --- a/scripts/run/cursor_mac_id_modifier.sh +++ b/scripts/run/cursor_mac_id_modifier.sh @@ -46,7 +46,8 @@ fi STORAGE_FILE="$HOME/Library/Application Support/Cursor/User/globalStorage/storage.json" BACKUP_DIR="$HOME/Library/Application Support/Cursor/User/globalStorage/backups" - +# 定义 Cursor 应用程序路径 +CURSOR_APP_PATH="/Applications/Cursor.app" # 检查权限 check_permissions() {