From 87cb3eb5c3a0a578f9a92ca182473170a5cdd700 Mon Sep 17 00:00:00 2001 From: this-Fish Date: Tue, 7 Oct 2025 09:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=88=86=E6=9E=90=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=20(#2095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README 的 README.md * Update index.html --- repo/js/日志分析工具/README 的 README.md | 10 +++++++++- repo/js/日志分析工具/index.html | 17 ++++++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/repo/js/日志分析工具/README 的 README.md b/repo/js/日志分析工具/README 的 README.md index c9800f5a1..8970383c8 100644 --- a/repo/js/日志分析工具/README 的 README.md +++ b/repo/js/日志分析工具/README 的 README.md @@ -29,6 +29,11 @@ ### 基本使用 1. **打开工具** - 访问上述在线地址 2. **上传日志** - 拖放BetterGI日志文件(文件名以`better-genshin-impact`开头) + - BetterGI日志文件所在位置如下 + - C:\你BGI所安裝的目錄\BetterGI\log + - 或使用BGI打開目錄 + - QQ_1759765939508 + 3. **查看分析** - 工具自动解析并显示统计信息 ### 移动设备使用 @@ -221,6 +226,9 @@ A: 确保文件命名格式是`better-genshin-impact日期.log`。 A: 横屏模式可获得更好体验。 ## 📋 更新日志 +### 20251006 + - 增加錯誤&其他訊息 + - 当前获取焦点的窗口不是原神,暂停 ### 20251003 - ❌ 新增错误检测 @@ -337,4 +345,4 @@ A: 横屏模式可获得更好体验。 --- *最后更新: 2025-09-27* -*适配 BetterGI 0.51.0+ 版本* \ No newline at end of file +*适配 BetterGI 0.51.0+ 版本* diff --git a/repo/js/日志分析工具/index.html b/repo/js/日志分析工具/index.html index a4ac6ef9d..10970510d 100644 --- a/repo/js/日志分析工具/index.html +++ b/repo/js/日志分析工具/index.html @@ -92,6 +92,9 @@ 20251003 增加錯誤&其他訊息 调度器任务出现未预期的异常,自动重启bgi + 20251006 + 增加錯誤&其他訊息 + 当前获取焦点的窗口不是原神,暂停 --> @@ -3280,6 +3283,18 @@ } } + //10.5 + if (line.includes("当前获取焦点的窗口不是原神,暂停")) { + const message = '窗口焦点异常,暂停'; + const type = 'pause-alert'; + if (currentTask.specialAlerts.has(message)) { + const existing = currentTask.specialAlerts.get(message); + existing.count++; + } else { + currentTask.specialAlerts.set(message, { type: type, count: 1 }); + } + } + // 11. 队伍角色识别失败 if (line.includes("队伍角色识别失败")) { const message = '队伍角色识别失败'; @@ -5557,4 +5572,4 @@ - \ No newline at end of file +