Merge branch 'master' of https://github.com/juewuy/ShellClash into master

# Conflicts:
#	bin/version
This commit is contained in:
juewuy 2022-02-20 15:04:20 +08:00
parent b796da40b1
commit 16f9b314e8

View File

@ -799,7 +799,7 @@ update(){
[ "$clashcore" = "clashpre" ] && clash_n=$clashpre_v
[ "$clashcore" = "clash.net" ] && clash_n=$clashnet_v
[ "$clashcore" = "clash.meta" ] && clash_n=$meta_v
clash_v=$($bindir/clash -v 2>/dev/null | awk '{print $2}')
clash_v=$($bindir/clash -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
[ -z "$clash_v" ] && clash_v=$clashv
echo -e "\033[30;47m欢迎使用更新功能\033[0m"
echo -----------------------------------------------