From c21fd63ec4170dd5f77e1be68b60bfaadae99866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BA=81=E5=8A=A8=E7=9A=84=E6=B0=A8=E6=B0=94?= <131591012+zaodonganqi@users.noreply.github.com> Date: Sun, 3 May 2026 22:36:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8=E5=B8=A6=E8=BF=87?= =?UTF-8?q?=E6=9C=9F=E6=A3=80=E6=B5=8B=E7=9A=84=E6=89=93=E5=BC=80=E8=83=8C?= =?UTF-8?q?=E5=8C=85=20(#3181)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/AutoArtifacts_A_B_Extra/main.js | 6 ++++-- repo/js/AutoArtifacts_A_B_Extra/manifest.json | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/repo/js/AutoArtifacts_A_B_Extra/main.js b/repo/js/AutoArtifacts_A_B_Extra/main.js index 888a3ff4e..f854f88f4 100644 --- a/repo/js/AutoArtifacts_A_B_Extra/main.js +++ b/repo/js/AutoArtifacts_A_B_Extra/main.js @@ -1,3 +1,5 @@ +import {openBag} from "../../../packages/utils/tool"; + const folderA = 'assets/狗粮A线@Yang-z/'; const folderB = 'assets/狗粮B线@Yang-z/'; const folderE = 'assets/狗粮额外@Yang-z/'; @@ -241,8 +243,8 @@ async function executeSalvageWithOCR(pathGroup, isPreRun = false) { let cachedFrame = null; try { - await genshin.returnMainUi(); - keyPress("B"); await sleep(1000); + await openBag(); + await sleep(1000); const coords = [ [670, 40], // 打开背包 [660, 1010], // 打开分解 diff --git a/repo/js/AutoArtifacts_A_B_Extra/manifest.json b/repo/js/AutoArtifacts_A_B_Extra/manifest.json index 94a05c9e9..4f23643db 100644 --- a/repo/js/AutoArtifacts_A_B_Extra/manifest.json +++ b/repo/js/AutoArtifacts_A_B_Extra/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 1, "name": "狗粮ABE路线,自动拾取分解", - "version": "2.5.5", - "bgi_version": "0.45.1", + "version": "2.5.6", + "bgi_version": "0.57.0", "description": "圣遗物狗粮AB及额外路线,自动轮换,自动分解,就近恢复。", "saved_files": [ "狗粮分解日志.txt",