From c5bad6804403a35b02b7358515eadbb43a3c5a48 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sat, 8 Nov 2025 21:54:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E5=A4=8Dsi?= =?UTF-8?q?ngbox=20anytls=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E4=B8=8D?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E9=97=AE=E9=A2=98=E3=80=81=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?singbox=E8=AF=81=E4=B9=A6=E8=BF=87=E6=9C=9F=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 31b0dae..753ffbb 100644 --- a/install.sh +++ b/install.sh @@ -2259,7 +2259,7 @@ renewalTLS() { if [[ "${coreInstallType}" == "1" ]]; then handleXray stop elif [[ "${coreInstallType}" == "2" ]]; then - handleV2Ray stop + handleSingBox stop fi sudo "$HOME/.acme.sh/acme.sh" --cron --home "$HOME/.acme.sh" @@ -6067,6 +6067,14 @@ addUser() { clients=$(jq -r "${userConfig} = ${clients}" ${configPath}11_VMess_HTTPUpgrade_inbounds.json) echo "${clients}" | jq . >${configPath}11_VMess_HTTPUpgrade_inbounds.json fi + # anytls + if echo "${currentInstallProtocolType}" | grep -q ",13,"; then + local clients= + clients=$(initSingBoxClients 13 "${uuid}" "${email}") + + clients=$(jq -r "${userConfig} = ${clients}" ${configPath}13_anytls_inbounds.json) + echo "${clients}" | jq . >${configPath}13_anytls_inbounds.json + fi done reloadCore echoContent green " ---> 添加完成" @@ -9496,7 +9504,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v3.4.32" + echoContent green "当前版本:v3.4.33" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus