r4: self-installing monthly GeoIP refresh cron (service hook + puller)

This commit is contained in:
2026-08-13 15:39:49 +00:00
parent f1547818a4
commit b5cb88c560
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -16,11 +16,11 @@ set -euo pipefail
# ---------------------------------------------------------------------------
# Config
# ---------------------------------------------------------------------------
RELEASE_NAME="XUI_1.5.13-r3.zip"
RELEASE_NAME="XUI_1.5.13-r4.zip"
# Primary download source: self-hosted Gitea generic-package mirror (fast, under
# our control). Override with the XUI_URL env var to point elsewhere.
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r3/${RELEASE_NAME}"
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/${RELEASE_NAME}"
URL="${XUI_URL:-$DEFAULT_URL}"
# Fallback source: the upstream XUIPatch GitHub release. Tried automatically if
@@ -29,7 +29,7 @@ FALLBACK_URL="${XUI_FALLBACK_URL:-https://github.com/xuione/XUIPatch/releases/do
# Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract.
# Override/clear with the XUI_SHA256 env var (set to "" to skip).
EXPECTED_SHA256="${XUI_SHA256-4cc7d31074dcfd5497235039773c75257051089382cb5b6a138da991fe732234}"
EXPECTED_SHA256="${XUI_SHA256-daab04cab369c04676d1eac2fd2520369b13fa5844e08347d67d778b098e20b0}"
WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"