mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2026-03-21 16:30:39 +00:00
feat: Enhance Cursor auto-update disabling workflow
- Implemented interactive menu for auto-update disabling - Added option to exit auto-update configuration - Improved error handling and user guidance - Refined user experience with clearer prompts and input validation - Updated final success message for MAC address modification
This commit is contained in:
@@ -223,7 +223,7 @@ generate_new_config() {
|
||||
|
||||
# 增强的转义函数
|
||||
escape_sed_replacement() {
|
||||
echo "$1" | sed -e 's/[\/&|]/\\&/g' # 转义 / & | 符号
|
||||
echo "$1" | sed -e 'g'
|
||||
}
|
||||
|
||||
# 对变量进行转义处理
|
||||
|
||||
Reference in New Issue
Block a user