mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 12:32:06 +08:00
修复cursor_mac_id_modifier.sh脚本中的语法错误,确保条件语句正确结束。此更改提高了脚本的稳定性和可读性。
This commit is contained in:
parent
26355e2270
commit
b3620ff9f3
@ -394,7 +394,7 @@ modify_cursor_app_files() {
|
|||||||
if [ -d "$temp_dir" ]; then
|
if [ -d "$temp_dir" ]; then
|
||||||
log_info "清理已存在的临时目录..."
|
log_info "清理已存在的临时目录..."
|
||||||
rm -rf "$temp_dir"
|
rm -rf "$temp_dir"
|
||||||
}
|
fi
|
||||||
|
|
||||||
# 创建新的临时目录
|
# 创建新的临时目录
|
||||||
mkdir -p "$temp_dir" || {
|
mkdir -p "$temp_dir" || {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user