Restore GitHub installer links

This commit is contained in:
kzolotarev95 committed 2026-10-06 07:04:49 +04:00
1 parent 139de2a20b
commit e24530483c
7 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
set -u
APP_NAME="OpenWrt Remote Hub"
RAW_BASE="${RAW_URL:-https://hub.freedev.app}"
RAW_BASE="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}"
STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}"
ACME_WEBROOT="$STATE_DIR/acme-webroot"
HOSTNAME_ARG="${1:-${HTTPS_HOST:-}}"
+3 -3
View File
@@ -3,8 +3,8 @@ set -u
APP_NAME="OpenWrt Remote Hub"
INSTALLER_VERSION="2026-08-17-https-bootstrap-v1"
RAW_BASE="${RAW_URL:-https://hub.freedev.app}"
XRAY_INSTALL_SCRIPT_URL="${XRAY_INSTALL_SCRIPT_URL:-https://hub.freedev.app/xray-install/install-release.sh}"
RAW_BASE="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}"
XRAY_INSTALL_SCRIPT_URL="${XRAY_INSTALL_SCRIPT_URL:-https://github.com/XTLS/Xray-install/raw/main/install-release.sh}"
STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}"
HUB_LOGIN="${HUB_LOGIN:-admin}"
HUB_PASSWORD="${HUB_PASSWORD:-admin}"
@@ -273,7 +273,7 @@ print_result() {
if [ "${HTTPS_OK:-0}" != "1" ]; then
info ""
info "Включить HTTPS вручную:"
info ' curl -fsSL "https://hub.freedev.app/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host"
info ' curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host"
fi
info "============================================================"
}
+3 -3
View File
@@ -65,7 +65,7 @@ except Exception:
APP_NAME = "OpenWrt Remote Hub"
RAW_REPO_BASE = os.environ.get("RAW_REPO_BASE", "https://hub.freedev.app").rstrip("/")
RAW_REPO_BASE = os.environ.get("RAW_REPO_BASE", "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main").rstrip("/")
APP_DIR = Path(__file__).resolve().parent
STATIC_DIR = APP_DIR / "static"
BRAND_THEME_COLOR = "#24192f"
@@ -4279,7 +4279,7 @@ def vps_terminal_commands(host):
return [
{
"title": "Обновить Hub",
"note": "Свежий hub.py с hub.freedev.app; обновление уходит в отдельный systemd-run",
"note": "Свежий hub.py из GitHub; обновление уходит в отдельный systemd-run",
"command": f'u=owrt-remote-selfupdate-$(date +%s); systemd-run --unit=\"$u\" --collect /bin/sh -lc \'v=$(date +%s); curl -fsSL -o /opt/owrt-remote/owrt-remote-hub.py \"{RAW_REPO_BASE}/vps/owrt-remote-hub.py?v=$v\" && chmod +x /opt/owrt-remote/owrt-remote-hub.py && systemctl restart owrt-remote\' && echo \"$u started; reopen VPS terminal in 3-5 sec\"',
},
{
@@ -4857,7 +4857,7 @@ input,select{{min-width:0;border:1px solid var(--line);border-radius:8px;padding
</div>
<div class="backupCmd">
<strong>2. Поднять Hub на новой VPS</strong>
<pre>curl -fsSL "https://hub.freedev.app/vps/install-vps.sh?v=$(date +%s)" | sh</pre>
<pre>curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/install-vps.sh?v=$(date +%s)" | sh</pre>
</div>
<div class="backupCmd">
<strong>3. Перенести архив на новую VPS</strong>
+1 -1
View File
@@ -5,7 +5,7 @@ APP_NAME="OpenWrt Remote Hub"
STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}"
PURGE="${PURGE:-1}"
REMOVE_XRAY="${REMOVE_XRAY:-0}"
XRAY_REMOVE_SCRIPT_URL="${XRAY_REMOVE_SCRIPT_URL:-https://hub.freedev.app/xray-install/install-release.sh}"
XRAY_REMOVE_SCRIPT_URL="${XRAY_REMOVE_SCRIPT_URL:-https://github.com/XTLS/Xray-install/raw/main/install-release.sh}"
if [ "$(id -u)" -eq 0 ]; then
SUDO=""