Browse Source

fix: sed -e error

pull/213/head
nazDridoy 4 months ago
committed by GitHub
parent
commit
d9ba4df6b8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      scripts/run/cursor_linux_id_modifier.sh

2
scripts/run/cursor_linux_id_modifier.sh

@ -223,7 +223,7 @@ generate_new_config() {
# 增强的转义函数
escape_sed_replacement() {
echo "$1" | sed -e 's/[\/&|]/\\&/g' # 转义 / & | 符号
echo "$1" | sed -e 'g'
}
# 对变量进行转义处理

Loading…
Cancel
Save