From bd982092ef97fb340fccca6c5f0e82eacdab9288 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: Tue, 9 Dec 2025 13:23:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BD=BF=E7=94=A8=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E5=88=86=E8=BE=A8=E7=8E=87=E5=80=BC=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=8E=B7=E5=8F=96(=E5=BA=94=20https://github?= =?UTF-8?q?.com/babalae/bettergi-scripts-list/pull/2464=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9)=20(#2466)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 躁动的氨气 <131591012+zaodonganqi@users.noreply.github.com> --- repo/js/HolyRelicsUp/README.md | 4 ++++ repo/js/HolyRelicsUp/main.js | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/repo/js/HolyRelicsUp/README.md b/repo/js/HolyRelicsUp/README.md index 0e407da6b..89accffc6 100644 --- a/repo/js/HolyRelicsUp/README.md +++ b/repo/js/HolyRelicsUp/README.md @@ -251,6 +251,10 @@ ## 版本历史 +### 1.1.8 (2025-12-09) +- **新增** **[1.1.8 新增]**: + - 使用固定分辨率值替换动态获取(应 https://github.com/babalae/bettergi-scripts-list/pull/2464 修改) + ### 1.1.7 (2025-12-05) - **新增** **[1.1.7 新增]**: diff --git a/repo/js/HolyRelicsUp/main.js b/repo/js/HolyRelicsUp/main.js index 567fc8cbe..0cc1a3b11 100644 --- a/repo/js/HolyRelicsUp/main.js +++ b/repo/js/HolyRelicsUp/main.js @@ -249,8 +249,8 @@ const config = settings.refreshSettingsByLanguage ? const genshinJson = { - width: genshin.width, - height: genshin.height, + width: 1920,//genshin.width, + height: 1080,//genshin.height, } @@ -2000,8 +2000,8 @@ const isInMainUI = () => { file.ReadImageMatSync(`${main_interface.path}${main_interface.name}${main_interface.type}`), 0, 0, - 640, - 216 + genshinJson.width / 3.0, + genshinJson.width / 5.0 ); let captureRegion = openCaptureGameRegion(); let res = findByCaptureGameRegion(captureRegion, paimonMenuRo);