Fix click issue (#2731)

This commit is contained in:
Jamis
2026-01-19 14:04:33 +08:00
committed by GitHub
parent 63590ddfe5
commit 426728167b
2 changed files with 4 additions and 3 deletions

View File

@@ -133,6 +133,7 @@ const RightSliderBottomRo = RecognitionObject.TemplateMatch(file.ReadImageMatSyn
if (DeployButton.isExist()) {
log.info("识别到部署按钮:({x},{y},{w},{h})", DeployButton.x, DeployButton.y, DeployButton.Width, DeployButton.Height);
DeployButton.click();
await sleep(100);
notification.send(`寻找到目标队伍:${partyName}`);
ConfigureStatue = true;
break;
@@ -201,4 +202,4 @@ const RightSliderBottomRo = RecognitionObject.TemplateMatch(file.ReadImageMatSyn
notification.error("没有设置切换队伍");
await genshin.returnMainUi();
}
})();
})();

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "返回七天神像切换指定队伍加速版",
"version": "1.4",
"version": "1.5",
"bgi_version": "0.44.4",
"description": "",
"authors": [
@@ -16,4 +16,4 @@
],
"settings_ui": "settings.json",
"main": "main.js"
}
}