修改安装源

This commit is contained in:
juewuy
2020-08-13 22:43:17 +08:00
parent 2026fe5adc
commit 2ed3c33b24

View File

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