Browse Source

fix: Correct shell script syntax in file modification function

- Fixed incorrect closing brace `}` with proper shell script `fi` syntax
- Corrected conditional statement termination in file processing
- Maintained consistent error handling and logging approach
pull/231/head v0.0.102
煎饼果子卷鲨鱼辣椒 4 months ago
parent
commit
bfd4aacecd
  1. 2
      scripts/run/cursor_mac_id_modifier.sh

2
scripts/run/cursor_mac_id_modifier.sh

@ -366,7 +366,7 @@ modify_cursor_app_files() {
if [ ! -f "$file" ]; then if [ ! -f "$file" ]; then
log_warn "文件不存在: ${file/$temp_dir\//}" log_warn "文件不存在: ${file/$temp_dir\//}"
continue continue
}
fi
log_debug "处理文件: ${file/$temp_dir\//}" log_debug "处理文件: ${file/$temp_dir\//}"

Loading…
Cancel
Save