v1.4.8
~同步1.7.6版本.net内核 ~同步最新版本GeoIP数据库文件 ~在线生成配置文件时,默认添加udp支持 ~修复个人sub源无法使用的bug ~修复小闪存模式下面板无法正常更新的bug
This commit is contained in:
BIN
bin/Country.mmdb
BIN
bin/Country.mmdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/cn_mini.mmdb
BIN
bin/cn_mini.mmdb
Binary file not shown.
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 113 KiB |
@@ -1,5 +1,5 @@
|
|||||||
clashnet_v=1.7.3
|
clashnet_v=1.7.6
|
||||||
clash_v=1.7.1
|
clash_v=1.7.1
|
||||||
clashpre_v=2021.09.15
|
clashpre_v=2021.09.15
|
||||||
GeoIP_v=202112030302
|
GeoIP_v=202112310302
|
||||||
versionsh=1.4.7
|
versionsh=1.4.8
|
||||||
|
|||||||
@@ -1043,6 +1043,8 @@ tools(){
|
|||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e "\033[30;47m欢迎使用其他工具菜单:\033[0m"
|
echo -e "\033[30;47m欢迎使用其他工具菜单:\033[0m"
|
||||||
echo -e "\033[33m本页工具可能无法兼容全部Linux设备,请酌情使用!\033[0m"
|
echo -e "\033[33m本页工具可能无法兼容全部Linux设备,请酌情使用!\033[0m"
|
||||||
|
echo -e "磁盘占用/所在目录:"
|
||||||
|
du -sh $clashdir
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e " 1 ShellClash测试菜单"
|
echo -e " 1 ShellClash测试菜单"
|
||||||
[ -f "/etc/firewall.user" ] && echo -e " 2 \033[32m配置\033[0m外网访问SSH"
|
[ -f "/etc/firewall.user" ] && echo -e " 2 \033[32m配置\033[0m外网访问SSH"
|
||||||
|
|||||||
@@ -187,7 +187,10 @@ getlink(){
|
|||||||
getlink2(){
|
getlink2(){
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e "\033[33m仅限导入完整clash配置文件链接!!!\033[0m"
|
echo -e "\033[33m仅限导入完整clash配置文件链接!!!\033[0m"
|
||||||
echo -e "可使用\033[4;32mhttps://acl4ssr.netlify.app\033[0m在线生成配置文件"
|
echo -----------------------------------------------
|
||||||
|
echo -e "\033[31m有流媒体需求,请使用\033[32m6-1在线生成配置文件功能!!!\033[0m"
|
||||||
|
echo -e "\033[31m如不了解机制,请使用\033[32m6-1在线生成配置文件功能!!!\033[0m"
|
||||||
|
echo -e "\033[31m如遇任何问题,请使用\033[32m6-1在线生成配置文件功能!!!\033[0m"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e "\033[33m0 返回上级菜单\033[0m"
|
echo -e "\033[33m0 返回上级菜单\033[0m"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
@@ -978,8 +981,6 @@ testcommand(){
|
|||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e "\033[30;47m这里是测试命令菜单\033[0m"
|
echo -e "\033[30;47m这里是测试命令菜单\033[0m"
|
||||||
echo -e "\033[33m如遇问题尽量运行相应命令后截图发群\033[0m"
|
echo -e "\033[33m如遇问题尽量运行相应命令后截图发群\033[0m"
|
||||||
echo -e "磁盘占用/所在目录:"
|
|
||||||
du -sh $clashdir
|
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo " 1 查看clash运行时的报错信息"
|
echo " 1 查看clash运行时的报错信息"
|
||||||
echo " 2 查看系统DNS端口(:53)占用 "
|
echo " 2 查看系统DNS端口(:53)占用 "
|
||||||
|
|||||||
@@ -93,11 +93,11 @@ getyaml(){
|
|||||||
[ -z "$server_link" ] && server_link=1
|
[ -z "$server_link" ] && server_link=1
|
||||||
#前后端订阅服务器地址索引,可在此处添加!
|
#前后端订阅服务器地址索引,可在此处添加!
|
||||||
Server=`sed -n ""$server_link"p"<<EOF
|
Server=`sed -n ""$server_link"p"<<EOF
|
||||||
subcon.dlj.tf
|
https://subcon.dlj.tf
|
||||||
api.dler.io
|
https://api.dler.io
|
||||||
api.wcc.best
|
https://api.wcc.best
|
||||||
sub.id9.cc
|
https://sub.id9.cc
|
||||||
sub.shellclash.ga
|
http://sub.shellclash.ga
|
||||||
EOF`
|
EOF`
|
||||||
Config=`sed -n ""$rule_link"p"<<EOF
|
Config=`sed -n ""$rule_link"p"<<EOF
|
||||||
https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_NoReject.ini
|
https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_NoReject.ini
|
||||||
@@ -122,7 +122,7 @@ EOF`
|
|||||||
#如果传来的是Url链接则合成Https链接,否则直接使用Https链接
|
#如果传来的是Url链接则合成Https链接,否则直接使用Https链接
|
||||||
if [ -z "$Https" ];then
|
if [ -z "$Https" ];then
|
||||||
#[ -n "$(echo $Url | grep -o 'https://dler')" ] && Server='api.dler.io'
|
#[ -n "$(echo $Url | grep -o 'https://dler')" ] && Server='api.dler.io'
|
||||||
Https="https://$Server/sub?target=clash&insert=true&new_name=true&scv=true&exclude=$exclude&include=$include&url=$Url&config=$Config"
|
Https="$Server/sub?target=clash&insert=true&new_name=true&scv=true&udp=true&exclude=$exclude&include=$include&url=$Url&config=$Config"
|
||||||
markhttp=1
|
markhttp=1
|
||||||
fi
|
fi
|
||||||
#输出
|
#输出
|
||||||
@@ -638,7 +638,8 @@ bfstart(){
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#检查dashboard文件
|
#检查dashboard文件
|
||||||
if [ -f $clashdir/ui/index.html -a ! -f $bindir/ui/index.html ];then
|
if [ -f $clashdir/ui/index.html ];then
|
||||||
|
rm -rf $bindir/ui
|
||||||
cp -rf $clashdir/ui $bindir
|
cp -rf $clashdir/ui $bindir
|
||||||
fi
|
fi
|
||||||
#检查curl或wget支持
|
#检查curl或wget支持
|
||||||
|
|||||||
Reference in New Issue
Block a user