refactor(core): 全面肃清硬编码版本注释,适配动态锚点架构

This commit is contained in:
hotyue
2026-04-15 03:57:12 +00:00
parent 9aef79831c
commit c7c93ea22e
6 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
#!/bin/bash
# ==========================================================
# 脚本名称: tg_report.sh (Telegram 每日战报模块 V3.4.0 动态拼装版)
# 核心功能: 适配 Feature Flag 架构,按需展示 Google/Trust 独立统计数据
# 脚本名称: tg_report.sh (Telegram 每日战报模块 - 动态锚点版)
# 核心功能: 适配 Feature Flag 架构,按需展示独立统计数据OTA 更新预警
# ==========================================================
INSTALL_DIR="/opt/ip_sentinel"
@@ -160,7 +160,7 @@ else
fi
# ==========================================
# 5. [v3.4.0 新增] 云端版本探针与告警模块
# 5. [核心: OTA 云端版本探针与告警模块]
# ==========================================
# 从配置文件提取当前本地版本,若无则默认为未知
LOCAL_VER="${AGENT_VERSION:-未知}"