Update install.sh

This commit is contained in:
wnlen
2026-03-20 15:52:22 +08:00
parent 6246715e85
commit df37425226

View File

@ -591,14 +591,9 @@ fi
# ========================= # =========================
section "下一步开启代理(可选)" section "下一步开启代理(可选)"
PROFILED_FILE="/etc/profile.d/clash-for-linux.sh" log " $(cmd "clashctl on") # 开启当前终端代理"
log " $(cmd "clashctl off") # 关闭当前终端代理"
if [ -f "$PROFILED_FILE" ]; then log " $(cmd "clashctl status") # 查看状态"
log " $(cmd "source $PROFILED_FILE")"
log " $(cmd "proxy_on")"
else
log " (未安装 Shell 代理快捷命令,跳过)"
fi
# ========================= # =========================
# 启动后快速诊断 # 启动后快速诊断