mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.1.6-test
~新增自定义本机host地址的功能(7-6-8) ~屏蔽核心自带的节点保存功能(会占用更多空间) ~修复部分情况下检测本机host失败的bug ~修复部分情况下导入配置文件失败的bug
This commit is contained in:
parent
925c4644bb
commit
30b98f7f64
|
@ -166,7 +166,7 @@ EOF`
|
|||
else
|
||||
Https=""
|
||||
#检测节点或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 -----------------------------------------------
|
||||
logger "获取到了配置文件,但似乎并不包含正确的节点信息!" 31
|
||||
echo -----------------------------------------------
|
||||
|
@ -264,6 +264,7 @@ secret: $secret
|
|||
$tun
|
||||
$exper
|
||||
$dns
|
||||
store-selected: false
|
||||
EOF
|
||||
###################################
|
||||
[ -f $clashdir/user.yaml ] && yaml_user=$clashdir/user.yaml
|
||||
|
|
Loading…
Reference in New Issue
Block a user