diff --git a/README.md b/README.md index 2802598..a547138 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ - 当前在RHEL系列和Debian系列Linux系统中测试过,其他系列可能需要适当修改脚本。 - 支持 x86_64/aarch64 平台 +> **注意**:当你在使用此项目时,遇到任何无法独自解决的问题请优先前往 [Issues](https://github.com/wanhebin/clash-for-linux/issues) 寻找解决方法。由于空闲时间有限,后续将不再对Issues中 “已经解答”、“已有解决方案” 的问题进行重复性的回答。 +
# 使用教程 diff --git a/start.sh b/start.sh index 721c954..d11dcb4 100755 --- a/start.sh +++ b/start.sh @@ -89,6 +89,9 @@ fi unset http_proxy unset https_proxy unset no_proxy +unset HTTP_PROXY +unset HTTPS_PROXY +unset NO_PROXY ## Clash 订阅地址检测及配置文件下载 @@ -187,6 +190,9 @@ function proxy_on() { export http_proxy=http://127.0.0.1:7890 export https_proxy=http://127.0.0.1:7890 export no_proxy=127.0.0.1,localhost + export HTTP_PROXY=http://127.0.0.1:7890 + export HTTPS_PROXY=http://127.0.0.1:7890 + export NO_PROXY=127.0.0.1,localhost echo -e "\033[32m[√] 已开启代理\033[0m" } @@ -195,6 +201,9 @@ function proxy_off(){ unset http_proxy unset https_proxy unset no_proxy + unset HTTP_PROXY + unset HTTPS_PROXY + unset NO_PROXY echo -e "\033[31m[×] 已关闭代理\033[0m" } EOF