v1.1.6-test
~新增自定义本机host地址的功能(7-6-8) ~屏蔽核心自带的节点保存功能(会占用更多空间) ~修复部分情况下检测本机host失败的bug ~修复部分情况下导入配置文件失败的bug
This commit is contained in:
@@ -166,7 +166,7 @@ EOF`
|
|||||||
else
|
else
|
||||||
Https=""
|
Https=""
|
||||||
#检测节点或providers
|
#检测节点或providers
|
||||||
if [ -z "$(cat $yamlnew | grep -E 'server:|proxy-providers:' | grep -v 'nameserver')" ];then
|
if [ -z "$(cat $yamlnew | grep -E 'server:|proxy-providers:' | grep -v 'nameserver' | head -n 1)" ];then
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
logger "获取到了配置文件,但似乎并不包含正确的节点信息!" 31
|
logger "获取到了配置文件,但似乎并不包含正确的节点信息!" 31
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
@@ -264,6 +264,7 @@ secret: $secret
|
|||||||
$tun
|
$tun
|
||||||
$exper
|
$exper
|
||||||
$dns
|
$dns
|
||||||
|
store-selected: false
|
||||||
EOF
|
EOF
|
||||||
###################################
|
###################################
|
||||||
[ -f $clashdir/user.yaml ] && yaml_user=$clashdir/user.yaml
|
[ -f $clashdir/user.yaml ] && yaml_user=$clashdir/user.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user