~Tun网卡Redir-host及IPV6支持
~日志推送适配PashDeer
~增加ipv6出口本机IP屏蔽
~安装脚本优化,兼容zsh
~在线生成服务器部分更新调整
This commit is contained in:
juewuy
2022-12-12 19:23:11 +08:00
parent 5ad7785eae
commit c4a6909feb
3 changed files with 8 additions and 6 deletions

View File

@@ -147,9 +147,9 @@ getyaml(){
#前后端订阅服务器地址索引,可在此处添加!
Server=`sed -n ""$server_link"p"<<EOF
https://api.dler.io
https://sub.shellclash.cf
https://api.v1.mk
https://sub.xeton.dev
https://sub.id9.cc
https://v.id9.cc
https://sub.maoxiongnet.com
http://sub2.shellclash.cf
EOF`
@@ -175,7 +175,8 @@ EOF`
Https=$(echo ${Https//\%26/\&}) #将%26替换回&
#如果传来的是Url链接则合成Https链接否则直接使用Https链接
if [ -z "$Https" ];then
[ -n "$(echo $Url | grep -oE 'vless:|hysteria:')" ] && Server='https://sub.shellclash.cf'
[ -n "$(echo $Url | grep -oE 'vless:')" ] && Server='https://v.id9.cc'
[ -n "$(echo $Url | grep -oE 'hysteria:')" ] && Server='https://sub.shellclash.cf'
Https="$Server/sub?target=clash&insert=true&new_name=true&scv=true&udp=true&exclude=$exclude&include=$include&url=$Url&config=$Config"
url_type=true
fi