v1.6.12
~内置下载功能防滥用优化 ~移除fastgit源 ~域名嗅探默认改为未启用 ~本机hosts生成优先读取user.yaml ~其他优化及若干bug修复
This commit is contained in:
@@ -1168,7 +1168,7 @@ clashadv(){
|
||||
[ -z "$start_old" ] && start_old=未开启
|
||||
[ -z "$tproxy_mod" ] && tproxy_mod=未开启
|
||||
[ -z "$public_support" ] && public_support=未开启
|
||||
[ -z "$sniffer" ] && sniffer=已开启
|
||||
[ -z "$sniffer" ] && sniffer=未启用
|
||||
[ "$bindir" = "/tmp/clash_$USER" ] && mini_clash=已开启 || mini_clash=未开启
|
||||
#
|
||||
echo -----------------------------------------------
|
||||
@@ -1199,7 +1199,7 @@ clashadv(){
|
||||
elif [ "$num" = 4 ]; then
|
||||
echo -----------------------------------------------
|
||||
if [ "$sniffer" = "未启用" ];then
|
||||
if [ "$clashcore" != "clash.meta" -o "$clashcore" != "clashpre" ];then
|
||||
if [ "$clashcore" = "clash" ];then
|
||||
rm -rf $bindir/clash
|
||||
clashcore=clash.meta
|
||||
setconfig clashcore $clashcore
|
||||
|
||||
Reference in New Issue
Block a user