From 6b9832cdcc1ceb8b707d7cc4b3d8b74f993769c4 Mon Sep 17 00:00:00 2001 From: Muse Date: Fri, 23 Oct 2026 16:40:35 +0000 Subject: [PATCH] install-agent: download the standalone agent artifact MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XUI_URL default switches from x-ui-linux- (panel binary) to x-ui-agent-linux-; RELEASE_BASE mechanism unchanged. The new asset exists from the first split release on — bumping RELEASE_BASE stays a release-step action. --- install-agent.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install-agent.sh b/install-agent.sh index 876ba5a..776c49a 100755 --- a/install-agent.sh +++ b/install-agent.sh @@ -81,8 +81,13 @@ esac # sing-box 核心在 NexusGate 仓的专用发行里(见下方 SINGBOX_BASE)。 # 注意:本脚本是 V2 版——只装 sing-box 运行时;主控未升 V2 前不要用它 # 重装节点(节点升级走面板一键更新,不需要本脚本)。 +# +# agent/主控拆分(期一):下载的是 agent 专用产物 x-ui-agent-linux- +# (独立入口 cmd/xui-agent,不再是主控双模式二进制)。该资产自拆分版 +# 发行起才有——RELEASE_BASE 的升版由发版步完成,指向拆分版即可用; +# 若需装拆分前的旧版节点,显式 XUI_URL 指回 x-ui-linux- 即可。 RELEASE_BASE="https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.2.1" -XUI_URL="${XUI_URL:-${RELEASE_BASE}/x-ui-linux-${BIN_ARCH}}" +XUI_URL="${XUI_URL:-${RELEASE_BASE}/x-ui-agent-linux-${BIN_ARCH}}" ROOT="${XUI_ROOT:-}" XUI_HOME="${ROOT}/usr/local/x-ui"