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:
煎饼果子卷鲨鱼辣椒
2025-02-07 09:59:54 +08:00
parent f85d60789e
commit cecccd2c7f
2 changed files with 80 additions and 63 deletions

View File

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