~增加节点绕过功能
~增加nftables依赖检测及自动安装功能(限OpenWrt)
~优化配置文件生成逻辑
…………
~增加CN-IPV6绕过内核功能(https://github.com/juewuy/ShellClash/pull/294)
~修复节点绕过bug
~pre核redirhost模式强制启用域名嗅探
~新手引导部分优化
~在线生成配置下载优化
…………
~增加默认NTP劫持,用于谷歌/Meta设备激活
~增加更多的默认常用端口
~修复配置文件若干原因报错
This commit is contained in:
juewuy
2023-01-08 22:03:36 +08:00
parent 08cc386e19
commit 207dbdf8d1
3 changed files with 22 additions and 10 deletions

View File

@@ -468,8 +468,9 @@ getcore(){
echo -e "\033[31m核心文件下载失败\033[0m"
rm -rf /tmp/clash.new
else
chmod +x /tmp/clash.new && /tmp/clash.new -v >/dev/null 2>&1
if [ "$?" != 0 ];then
chmod +x /tmp/clash.new
clashv=$($bindir/clash -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
if [ -z "$clashv" ];then
echo -e "\033[31m核心文件下载失败\033[0m"
rm -rf /tmp/clash.new
else