install-agent: download the standalone agent artifact
XUI_URL default switches from x-ui-linux-<arch> (panel binary) to x-ui-agent-linux-<arch>; RELEASE_BASE mechanism unchanged. The new asset exists from the first split release on — bumping RELEASE_BASE stays a release-step action.
This commit is contained in:
+6
-1
@@ -81,8 +81,13 @@ esac
|
|||||||
# sing-box 核心在 NexusGate 仓的专用发行里(见下方 SINGBOX_BASE)。
|
# sing-box 核心在 NexusGate 仓的专用发行里(见下方 SINGBOX_BASE)。
|
||||||
# 注意:本脚本是 V2 版——只装 sing-box 运行时;主控未升 V2 前不要用它
|
# 注意:本脚本是 V2 版——只装 sing-box 运行时;主控未升 V2 前不要用它
|
||||||
# 重装节点(节点升级走面板一键更新,不需要本脚本)。
|
# 重装节点(节点升级走面板一键更新,不需要本脚本)。
|
||||||
|
#
|
||||||
|
# agent/主控拆分(期一):下载的是 agent 专用产物 x-ui-agent-linux-<arch>
|
||||||
|
# (独立入口 cmd/xui-agent,不再是主控双模式二进制)。该资产自拆分版
|
||||||
|
# 发行起才有——RELEASE_BASE 的升版由发版步完成,指向拆分版即可用;
|
||||||
|
# 若需装拆分前的旧版节点,显式 XUI_URL 指回 x-ui-linux-<arch> 即可。
|
||||||
RELEASE_BASE="https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.2.1"
|
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:-}"
|
ROOT="${XUI_ROOT:-}"
|
||||||
XUI_HOME="${ROOT}/usr/local/x-ui"
|
XUI_HOME="${ROOT}/usr/local/x-ui"
|
||||||
|
|||||||
Reference in New Issue
Block a user