diff --git a/install-agent.ps1 b/install-agent.ps1 index 56fd944..9e76f56 100644 --- a/install-agent.ps1 +++ b/install-agent.ps1 @@ -29,7 +29,7 @@ $ErrorActionPreference = "Stop" # Release download base, same shape as install-agent.sh's # RELEASE_BASE (the version segment is bumped by the release flow). -$ReleaseBase = "https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.3.0" +$ReleaseBase = "https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.4.0" if (-not $AgentUrl) { $AgentUrl = "$ReleaseBase/x-ui-agent-windows-amd64.exe" } diff --git a/install-agent.sh b/install-agent.sh index 7e74edc..43df63f 100755 --- a/install-agent.sh +++ b/install-agent.sh @@ -86,7 +86,7 @@ esac # (独立入口 cmd/xui-agent,不再是主控双模式二进制)。该资产自拆分版 # 发行起才有——RELEASE_BASE 的升版由发版步完成,指向拆分版即可用; # 若需装拆分前的旧版节点,显式 XUI_URL 指回 x-ui-linux- 即可。 -RELEASE_BASE="https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.3.0" +RELEASE_BASE="https://git.881218.xyz/rogue/3x-ui-agent/releases/download/V2.4.0" XUI_URL="${XUI_URL:-${RELEASE_BASE}/x-ui-agent-linux-${BIN_ARCH}}" ROOT="${XUI_ROOT:-}"