From b31c824f94d2b9287d87ed3fb1511c25f7059dd1 Mon Sep 17 00:00:00 2001 From: DustinWin Date: Sun, 17 May 2026 22:48:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=82=E9=85=8D=20sing-box=20v1.14.0-alp?= =?UTF-8?q?ha.21+=20=E7=89=88=E6=9C=AC=E5=86=85=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/menus/override.sh | 2 +- scripts/starts/singbox_modify.sh | 24 ++++++++++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/scripts/menus/override.sh b/scripts/menus/override.sh index 2045bc287..a4e2275ca 100644 --- a/scripts/menus/override.sh +++ b/scripts/menus/override.sh @@ -540,7 +540,7 @@ EOF # s自定义singbox配置文件 set_singbox_adv() { comp_box "\033[33m$OVR_SING_TITLE1\033[0m" \ - "\033[36mlog dns ntp certificate experimental\033[0m" \ + "\033[36mlog dns ntp certificate http_clients experimental\033[0m" \ "\033[33m$OVR_SING_TITLE2\033[0m" \ "\033[36mendpoints inbounds outbounds providers route services\033[0m" \ "$OVR_SING_TITLE3" \ diff --git a/scripts/starts/singbox_modify.sh b/scripts/starts/singbox_modify.sh index e12fae3ef..84c294a98 100644 --- a/scripts/starts/singbox_modify.sh +++ b/scripts/starts/singbox_modify.sh @@ -92,10 +92,11 @@ EOF ], "rules": [ { - "ip_accept_any": true, + "preferred_by": [ "hosts" ], "server": "hosts" } - ]} + ] + } } EOF fi @@ -153,7 +154,7 @@ generate_dns_related_jsons() { "format": "binary", $srs_path "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/cn.srs", - "download_detour": "DIRECT" + "http_client": "detour_direct" } ] } @@ -324,6 +325,21 @@ generate_outbounds_and_experimental_jsons() { $add_global ] } +EOF + #生成http_clients.json + cat >"$TMPDIR"/jsons/http_clients.json < Date: Tue, 30 Jun 2026 23:26:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20sing-box=20reF1nd=20?= =?UTF-8?q?=E7=89=88=E6=96=87=E6=A1=A3=E7=9A=84=E8=AE=BF=E9=97=AE=E5=9F=9F?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/lang/chs/9_upgrade.lang | 2 +- scripts/lang/en/9_upgrade.lang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lang/chs/9_upgrade.lang b/scripts/lang/chs/9_upgrade.lang index 953ab36f0..de986d3cf 100644 --- a/scripts/lang/chs/9_upgrade.lang +++ b/scripts/lang/chs/9_upgrade.lang @@ -216,7 +216,7 @@ UPG_CORE_V1_SUFFIX=" \033[32m(原meta内核)支持全面\033[0m \033[33m占 UPG_CORE_V1_DOC="说明文档:\033[36;4mhttps://wiki.metacubex.one\033[0m" UPG_CORE_V2_PREFIX="2) \033[43;30mSingBoxR\033[0m:\033[32m" UPG_CORE_V2_SUFFIX=" \033[32m支持全面\033[0m \033[33m使用reF1nd增强分支\033[0m" -UPG_CORE_V2_DOC="说明文档:\033[36;4mhttps://sing-boxr.dustinwin.us.kg\033[0m" +UPG_CORE_V2_DOC="说明文档:\033[36;4mhttps://sing-boxr.dustinwin.cc.cd\033[0m" UPG_CORE_V3_PREFIX="3) \033[43;30mSingBox\033[0m:\033[32m" UPG_CORE_V3_SUFFIX=" \033[32m占用较低\033[0m \033[33m不支持providers\033[0m" UPG_CORE_V3_DOC="说明文档:\033[36;4mhttps://sing-box.sagernet.org\033[0m" diff --git a/scripts/lang/en/9_upgrade.lang b/scripts/lang/en/9_upgrade.lang index ccd5e2b80..5e91c1e7f 100644 --- a/scripts/lang/en/9_upgrade.lang +++ b/scripts/lang/en/9_upgrade.lang @@ -216,7 +216,7 @@ UPG_CORE_V1_SUFFIX=" \033[32m(full meta core) highly compatible\033[0m \033[33mm UPG_CORE_V1_DOC="Docs: \033[36;4mhttps://wiki.metacubex.one\033[0m" UPG_CORE_V2_PREFIX="2) \033[43;30mSingBoxR\033[0m: \033[32m" UPG_CORE_V2_SUFFIX=" \033[32mfully featured\033[0m \033[33mreF1nd enhanced branch\033[0m" -UPG_CORE_V2_DOC="Docs: \033[36;4mhttps://sing-boxr.dustinwin.us.kg\033[0m" +UPG_CORE_V2_DOC="Docs: \033[36;4mhttps://sing-boxr.dustinwin.cc.cd\033[0m" UPG_CORE_V3_PREFIX="3) \033[43;30mSingBox\033[0m: \033[32m" UPG_CORE_V3_SUFFIX=" \033[32mlower resource usage\033[0m \033[33mproviders are not supported\033[0m" UPG_CORE_V3_DOC="Docs: \033[36;4mhttps://sing-box.sagernet.org\033[0m"