~增加全新的安装脚本及本地安装辅助文件

This commit is contained in:
juewuy
2021-06-07 18:46:08 +08:00
parent 9018f112a0
commit e7a2fe648e
2 changed files with 7 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ elif [ "$num" = "1" ];then
echo "无法切换版本,尝试安装测试版!"
fi
fi
webget /tmp/clashversion $url/bin/version echooff
webget /tmp/clashversion "$url/bin/version" echooff
[ "$result" = "200" ] && versionsh=$(cat /tmp/clashversion | grep "versionsh" | awk -F "=" '{print $2}')
[ -z "$release_new" ] && release_new=$versionsh
rm -rf /tmp/clashversion