mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.6.16c
~核心下载提示及流程优化 ~本机代理细节优化 ~修复部分情况下不显示版本号的bug
This commit is contained in:
parent
77908af189
commit
bf5bb983c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user