From 73773be6d8553c13d6d95e69d9ddae4b6ce603d5 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: Thu, 13 Feb 2025 16:47:08 +0800 Subject: [PATCH] fix: Correct syntax error in Cursor app modification script - Fixed a syntax error by replacing `}` with `fi` in the directory existence check - Ensured proper shell script syntax for conditional block termination --- scripts/run/cursor_mac_id_modifier.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run/cursor_mac_id_modifier.sh b/scripts/run/cursor_mac_id_modifier.sh index a5ed937..dfffe1e 100644 --- a/scripts/run/cursor_mac_id_modifier.sh +++ b/scripts/run/cursor_mac_id_modifier.sh @@ -301,7 +301,7 @@ modify_cursor_app_files() { if [ ! -d "$CURSOR_APP_PATH" ]; then log_error "未找到 Cursor.app,请确认安装路径: $CURSOR_APP_PATH" return 1 - } + fi # 创建临时工作目录 local timestamp=$(date +%Y%m%d_%H%M%S)