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);