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
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2025-02-13 16:47:08 +08:00
parent dc60f1ef07
commit 73773be6d8

View File

@ -301,7 +301,7 @@ modify_cursor_app_files() {
if [ ! -d "$CURSOR_APP_PATH" ]; then if [ ! -d "$CURSOR_APP_PATH" ]; then
log_error "未找到 Cursor.app请确认安装路径: $CURSOR_APP_PATH" log_error "未找到 Cursor.app请确认安装路径: $CURSOR_APP_PATH"
return 1 return 1
} fi
# 创建临时工作目录 # 创建临时工作目录
local timestamp=$(date +%Y%m%d_%H%M%S) local timestamp=$(date +%Y%m%d_%H%M%S)