From 74549fdbdafba665513ebfe5eaa0e70953bace58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E7=AB=AF=E5=AE=A2?= <107686912+Kirito520Asuna@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:02:46 +0800 Subject: [PATCH] =?UTF-8?q?chore(version):=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B3=200.0.4=20(#3040)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 manifest.json 中的版本号从 0.0.3 更新为 0.0.4 - 在 README.md 的兼容性表格中添加 0.0.4 版本记录 - 在版本历史中新增 0.0.4 版本的发布日期和变更说明 - 记录修复识别异常的变更内容 fix(AutoPlan): 修复物理识别错误处理逻辑 - 注释掉异常情况下的ESC按键操作避免意外退出 - 保持错误日志记录功能 - 维持异常抛出机制确保错误状态传递 --- repo/js/AutoPlan/README.md | 3 +++ repo/js/AutoPlan/manifest.json | 2 +- repo/js/AutoPlan/utils/physical.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/repo/js/AutoPlan/README.md b/repo/js/AutoPlan/README.md index 31a8d2ba8..cfc5dd2a5 100644 --- a/repo/js/AutoPlan/README.md +++ b/repo/js/AutoPlan/README.md @@ -302,8 +302,11 @@ | 0.0.1 | oiJbmjU2R0NniiwiZxh | 0.0.4+ | | 0.0.2 | oiJbmjU2R0NniiwiZxh | 0.0.5+ | | 0.0.3 | oiJbmjU2R0NniiwiZxh | 0.0.6+ | +| 0.0.4 | oiJbmjU2R0NniiwiZxh | 0.0.6+ | ## 版本历史(简要) +### 0.0.4 2026.03.25 +- 修复识别异常 ### 0.0.3 2026.03.13 - 健全体力识别(双重识别兜底) ### 0.0.2 2026.03.07 diff --git a/repo/js/AutoPlan/manifest.json b/repo/js/AutoPlan/manifest.json index c8077be74..1d6d4c044 100644 --- a/repo/js/AutoPlan/manifest.json +++ b/repo/js/AutoPlan/manifest.json @@ -1,6 +1,6 @@ { "name": "自动体力计划", - "version": "0.0.3", + "version": "0.0.4", "description": "", "settings_ui": "settings.json", "main": "main.js", diff --git a/repo/js/AutoPlan/utils/physical.js b/repo/js/AutoPlan/utils/physical.js index adc7d2cfb..b8b464a9b 100644 --- a/repo/js/AutoPlan/utils/physical.js +++ b/repo/js/AutoPlan/utils/physical.js @@ -349,7 +349,7 @@ async function countOriginalResin(tryOriginalMode, opToMainUi, openMap) { return ocr_physical?.current; } else { //异常 退出至地图 尝试使用原始模式 - await keyPress("VK_ESCAPE") + // await keyPress("VK_ESCAPE") log.error(`ocrPhysical error`); throw new Error("ocrPhysical error"); }