v0.9.4
~调整安装初始化流程 ~优化下载更新流程 ~修复下载更新相关bug
This commit is contained in:
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
getconfig(){
|
||||
#服务器地址
|
||||
if [ -z "$update_url" ]; then
|
||||
update_url=https://cdn.jsdelivr.net/gh/juewuy/clash-for-Miwifi
|
||||
update_url=https://cdn.jsdelivr.net/gh/juewuy/clash-for-Miwifi@latest
|
||||
fi
|
||||
#文件路径
|
||||
if [ -z "$clashdir" ];then
|
||||
|
||||
@@ -469,7 +469,7 @@ if [ -z $num ]; then
|
||||
echo -e "\033[31m请输入正确的数字!\033[0m"
|
||||
update
|
||||
elif [[ $num == 1 ]]; then
|
||||
update_url="https://cdn.jsdelivr.net/gh/juewuy/clash-for-Miwifi"
|
||||
update_url="https://cdn.jsdelivr.net/gh/juewuy/clash-for-Miwifi@latest"
|
||||
elif [[ $num == 9 ]]; then
|
||||
update_url="https://juewuy.xyz/clash"
|
||||
elif [[ $num == 2 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user