~增加DNS防泄露开关(默认启用)

~增加了部分自定义内核的下载
~优化一键加密DNS功能,现在Mihomo和Singbox内核不再依赖根证书文件
~屏蔽Dnsmasq转发功能
~调整Singbox内核DNS入站逻辑,尝试修复内存溢出问题
~修复Singbox内核启动后无法正确还原面板节点选择的bug
This commit is contained in:
juewuy
2025-12-14 18:48:24 +08:00
parent a7c9a8b3f3
commit 0aaa5013bc
3 changed files with 61 additions and 48 deletions

View File

@@ -1438,8 +1438,10 @@ setcustcore(){ #自定义内核
echo -e "1 \033[36mMetaCubeX/mihomo\033[32m@release\033[0m版本官方内核"
echo -e "2 \033[36mMetaCubeX/mihomo\033[32m@alpha\033[0m版本官方内核"
echo -e "3 \033[36mvernesong/mihomo\033[32m@alpha\033[0m版本内核(支持Smart策略)"
echo -e "4 \033[36mreF1nd/sing-box\033[32m@dev\033[0m版本内核(完整编译)"
echo -e "5 Premium-2023.08.17内核(已停止维护)"
echo -e "4 \033[36mSagerNet/sing-box\033[32m@release\033[0m版本官方内核"
echo -e "5 \033[36mreF1nd/sing-box\033[32m@release\033[0m版本内核(完整编译)"
echo -e "6 \033[36mreF1nd/sing-box\033[32m@dev\033[0m版本内核(完整编译)"
echo -e "7 Premium-2023.08.17内核(已停止维护)"
echo -e "a \033[33m自定义内核链接 \033[0m"
echo -----------------------------------------------
read -p "请输入对应数字 > " num
@@ -1463,12 +1465,24 @@ setcustcore(){ #自定义内核
checkcustcore
;;
4)
project=SagerNet/sing-box
api_tag=latest
crashcore=singbox
checkcustcore
;;
5)
project=juewuy/ShellCrash
api_tag=singbox_core_reF1nd
crashcore=singboxr
checkcustcore
;;
5)
6)
project=juewuy/ShellCrash
api_tag=singbox_core_dev_reF1nd
crashcore=singboxr
checkcustcore
;;
7)
project=juewuy/ShellCrash
api_tag=clash.premium.latest
crashcore=clashpre