From 722db9f6d1107fa814eccf602f9e7a95575ef52e Mon Sep 17 00:00:00 2001 From: hotyue <52734432+hotyue@users.noreply.github.com> Date: Fri, 17 Apr 2026 14:35:55 +0000 Subject: [PATCH] =?UTF-8?q?style(core):=20=E5=BC=95=E5=85=A5=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=20OSC=208=20=E8=B6=85=E9=93=BE=E6=8E=A5=E7=89=B9?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E9=87=8D=E6=9E=84=E6=95=99=E7=A8=8B=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E4=BA=A4=E4=BA=92=E4=B8=BA=E7=82=B9=E5=87=BB=E5=8D=B3?= =?UTF-8?q?=E8=BE=BE=EF=BC=8C=E6=8F=90=E5=8D=87=E7=BB=88=E7=AB=AF=E6=B2=89?= =?UTF-8?q?=E6=B5=B8=E5=BC=8F=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/install.sh b/core/install.sh index e765e16..c55568c 100755 --- a/core/install.sh +++ b/core/install.sh @@ -298,7 +298,9 @@ if [ "$UPGRADE_MODE" == "false" ]; then echo -e "\033[33m由于您使用了官方公共网关,为防止潜在的滥用或供应链风险,本节点的 [OTA 远程升级] 权限已被系统底层强制禁用。\033[0m" echo -e "\033[33m💡 若未来需要启用 OTA,请自建私有中枢后重新部署本节点。\033[0m" else - echo -e "\n\033[36m📘 私有 Bot 创建教程: https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather/\033[0m" + # [v3.6.0 优化] 使用 OSC 8 终端超链接协议,实现“点击即打开”的极客交互 + echo -e "\n\033[36m📘 私有 Bot 创建教程: \033[4m\033]8;;https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather/\033\\👉 [点击此处直接在浏览器中打开] 👈\033]8;;\033\\\033[0m" + echo -e "\033[90m (若您的终端较老不支持点击,请手动复制: https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather/ )\033[0m" read -p "请输入您的私有 Telegram Bot Token: " USER_TOKEN # 🛡️ 核心防误触修复:拦截空回车或粘贴换行导致的跳过 Bug @@ -324,7 +326,8 @@ if [ "$UPGRADE_MODE" == "false" ]; then fi echo -e "\n\033[33m💡 提示:如果您不知道下方自己的 Chat ID 是什么,可以关注 @userinfobot 获取。\033[0m" - echo -e "\033[36m📘 查看图文教程: https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot/\033[0m" + echo -e "\033[36m📘 查看图文教程: \033[4m\033]8;;https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot/\033\\👉 [点击此处直接在浏览器中打开] 👈\033]8;;\033\\\033[0m" + echo -e "\033[90m (若您的终端较老不支持点击,请手动复制: https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot/ )\033[0m" read -p "请输入你的 Chat ID (必须准确,否则无法联控): " CHAT_ID # ================== [v3.0.3 变更: 智能随机高位端口生成系统] ==================