From 3e9a82a6579842249d3254a0397b45d25d8f8040 Mon Sep 17 00:00:00 2001 From: hotyue <52734432+hotyue@users.noreply.github.com> Date: Fri, 17 Apr 2026 13:27:20 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=B4=E6=97=B6=E5=B0=86=E5=90=84?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=8B=89=E5=8F=96=E7=9B=B4=E9=93=BE=E6=8C=87?= =?UTF-8?q?=E5=90=91=20dev-v3.6.0=20=E5=88=86=E6=94=AF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=B7=A8=E5=88=86=E6=94=AF=E6=8B=89=E5=8F=96=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E6=95=B0=E6=8D=AE=E8=A7=A3=E6=9E=90=E9=94=99?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/install.sh | 6 +++--- core/updater.sh | 4 +++- master/install_master.sh | 6 +++--- master/tg_master.sh | 4 +++- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/core/install.sh b/core/install.sh index 5c522c6..e765e16 100755 --- a/core/install.sh +++ b/core/install.sh @@ -6,9 +6,9 @@ # ========================================================== # 你的 GitHub 仓库 Raw 数据直链前缀 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" -# 临时改为私库地址用于测试 -# REPO_RAW_URL="https://git.94211762.xyz/hotyue/IP-Sentinel/raw/branch/main" +# REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# 临时改为开发地址用于测试 +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/dev-v3.6.0" INSTALL_DIR="/opt/ip_sentinel" CONFIG_FILE="${INSTALL_DIR}/config.conf" diff --git a/core/updater.sh b/core/updater.sh index 8d2ddfb..371df55 100755 --- a/core/updater.sh +++ b/core/updater.sh @@ -10,7 +10,9 @@ CONFIG_FILE="${INSTALL_DIR}/config.conf" UA_TIME_FILE="${INSTALL_DIR}/core/.ua_last_update" # GitHub 仓库 Raw 数据直链前缀 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# 临时改为开发地址用于测试 +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/dev-v3.6.0" # 1. 加载本地冷数据配置 if [ ! -f "$CONFIG_FILE" ]; then diff --git a/master/install_master.sh b/master/install_master.sh index 31ac07d..f0a9b8f 100755 --- a/master/install_master.sh +++ b/master/install_master.sh @@ -6,9 +6,9 @@ # ========================================================== # 你的 GitHub 仓库 Raw 数据直链前缀 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" -# 临时改为私库地址用于测试 -# REPO_RAW_URL="https://git.94211762.xyz/hotyue/IP-Sentinel/raw/branch/main" +# REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# 临时改为开发地址用于测试 +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/dev-v3.6.0" # [核心: 动态提取 Master 专属版本锚点 (KV 解析法)] # 通过 grep 定位 MASTER_VERSION 行,再通过 cut 提取等号右侧的值 diff --git a/master/tg_master.sh b/master/tg_master.sh index 78eb622..d6582da 100755 --- a/master/tg_master.sh +++ b/master/tg_master.sh @@ -10,7 +10,9 @@ CONF="/opt/ip_sentinel_master/master.conf" source "$CONF" # [核心: 运行态版本继承与云通信地址] -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +# 临时改为开发地址用于测试 +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/dev-v3.6.0" # MASTER_VERSION 已经在上方的 source "$CONF" 中被载入 # 如果本地极度陈旧没有该变量,才给定一个基础兜底值,避免变量为空导致崩溃 MASTER_VERSION=${MASTER_VERSION:-"3.5.0"}