~修复了脚本更新路径不正确的bug
~调整了geoip数据库下载源地址
~增加了自定义源输入检测
This commit is contained in:
juewuy
2020-08-11 12:53:25 +08:00
parent 18143d2392
commit 384e8957a1

View File

@@ -7,7 +7,7 @@ echo "** Clash for Miwifi **"
echo "** by Juewuy **"
echo "***********************************************"
url="https://cdn.jsdelivr.net/gh/juewuy/clash-for-Miwifi"
url="https://juewuy.xyz/clash/"
result=$(curl -w %{http_code} -skLo /tmp/clashversion $url/bin/version)
[ "$result" != "200" ] && echo "无法连接到服务器!" && exit 1
source /tmp/clashversion