OpenClash: sync with upstream source
This commit is contained in:
parent
86d89cb0e1
commit
cc94840e57
@ -438,6 +438,8 @@ yml_dns_custom()
|
||||
if [ ! -z "$(grep '^ \{0,\}fallback:' $2)" ]; then
|
||||
if [ -z "$(grep '^ \{0,\}fallback-filter:' $2)" ]; then
|
||||
awk '/^ {0,}fallback:/,/OpenClash-General-Settings/{print}' "$2" |sed '1d' |sed '$d' >/tmp/fallback.cache 2>/dev/null
|
||||
sed -i '/cfw-bypass:/,$d' /tmp/fallback.cache 2>/dev/null
|
||||
sed -i '/cfw-latency-timeout:/,$d' /tmp/fallback.cache 2>/dev/null
|
||||
sed -i '/fallback:/,$d' "$2" 2>/dev/null
|
||||
echo " fallback:" >>"$2"
|
||||
sed -i '/ fallback:/a\ - 240.0.0.0/4' "$2" 2>/dev/null
|
||||
|
||||
@ -70,6 +70,7 @@ kuwo.cn
|
||||
#JOOX音乐
|
||||
api-jooxtt.sanook.com
|
||||
api.joox.com
|
||||
joox.com
|
||||
#QQ音乐
|
||||
y.qq.com
|
||||
streamoc.music.tc.qq.com
|
||||
@ -82,6 +83,7 @@ amobile.music.tc.qq.com
|
||||
xiami.com
|
||||
#咪咕音乐
|
||||
music.migu.cn
|
||||
migu.cn
|
||||
#win10本地连接检测
|
||||
msftconnecttest.com
|
||||
msftncsi.com
|
||||
|
||||
@ -208,6 +208,7 @@ o.default = "false"
|
||||
o:value("true")
|
||||
o:value("false")
|
||||
o:depends("obfs", "websocket")
|
||||
o:depends("obfs_vmess", "none")
|
||||
o:depends("obfs_vmess", "websocket")
|
||||
o:depends("type", "socks5")
|
||||
o:depends("type", "http")
|
||||
@ -219,6 +220,7 @@ o.default = "false"
|
||||
o:value("true")
|
||||
o:value("false")
|
||||
o:depends("obfs", "websocket")
|
||||
o:depends("obfs_vmess", "none")
|
||||
o:depends("obfs_vmess", "websocket")
|
||||
o:depends("type", "socks5")
|
||||
o:depends("type", "http")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user