更新配置文件下载方式

This commit is contained in:
wanhebin 2023-03-08 15:22:45 +08:00
parent dafb5d8d90
commit 9818425c25

View File

@ -77,8 +77,8 @@ Text3="配置文件config.yaml下载成功"
Text4="配置文件config.yaml下载失败退出启动" Text4="配置文件config.yaml下载失败退出启动"
for i in {1..10} for i in {1..10}
do do
wget -q -O $Temp_Dir/clash.yaml $URL
#curl -s -o $Temp_Dir/clash.yaml $URL #curl -s -o $Temp_Dir/clash.yaml $URL
wget -q -O $Temp_Dir/clash.yaml $URL
ReturnStatus=$? ReturnStatus=$?
if [ $ReturnStatus -eq 0 ]; then if [ $ReturnStatus -eq 0 ]; then
break break