File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1010,15 +1010,15 @@ main() {
1010
1010
# 记录系统信息
1011
1011
log_info "系统信息: $(uname -a)"
1012
1012
log_info "当前用户: $CURRENT_USER"
1013
- log_cmd_output "sw_vers" "macOS 版本信息"
1013
+ log_cmd_output "sw_vers" " 版本信息"
1014
1014
log_cmd_output "which codesign" "codesign 路径"
1015
1015
log_cmd_output "ls -la \"$CURSOR_APP_PATH\"" "Cursor 应用信息"
1016
1016
1017
- # 新增环境检查
1018
- if [[ $(uname) != "Darwin " ]]; then
1019
- log_error "本脚本仅支持 macOS 系统"
1020
- exit 1
1021
- fi
1017
+ # # 新增环境检查
1018
+ # if [[ $(uname) != "" ]]; then
1019
+ # log_error "本脚本仅支持 Linux 系统"
1020
+ # exit 1
1021
+ # fi
1022
1022
1023
1023
clear
1024
1024
# 显示 Logo
@@ -1121,7 +1121,7 @@ main() {
1121
1121
log_warn "应用修复选项"
1122
1122
1123
1123
# 使用新的菜单选择函数
1124
- select_menu_option "请使用上下箭头选择,按Enter确认:" "忽略 - 不执行修复操作|修复"应用已损坏"问题 - 解决macOS提示应用已损坏无法打开的问题 " 0
1124
+ select_menu_option "请使用上下箭头选择,按Enter确认:" "忽略 - 不执行修复操作|修复"应用已损坏"问题 - 解决提示应用已损坏无法打开的问题 " 0
1125
1125
damaged_choice=$?
1126
1126
1127
1127
echo "[INPUT_DEBUG] 应用修复选项选择: $damaged_choice" >> "$LOG_FILE"
You can’t perform that action at this time.
0 commit comments