~核心下载提示及流程优化
~本机代理细节优化
~修复部分情况下不显示版本号的bug
This commit is contained in:
juewuy 2023-01-19 22:33:38 +08:00
parent 77908af189
commit bf5bb983c1

View File

@ -417,7 +417,7 @@ getcore(){
error_down
else
chmod +x /tmp/clash.new
clashv=$($bindir/clash -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
clashv=$(/tmp/clash.new -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
if [ -z "$clashv" ];then
echo -e "\033[31m核心文件下载成功但校验失败请尝试手动指定CPU版本\033[0m"
rm -rf /tmp/clash.new