mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 12:32:06 +08:00
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:
parent
dc60f1ef07
commit
73773be6d8
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user