Browse Source

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
pull/241/head v0.0.110
煎饼果子卷鲨鱼辣椒 4 months ago
parent
commit
73773be6d8
  1. 2
      scripts/run/cursor_mac_id_modifier.sh

2
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)

Loading…
Cancel
Save