添加清理队伍缓存 (#1872)

This commit is contained in:
起个名字好难的喵
2025-09-12 17:17:27 +08:00
committed by GitHub
parent 9e0b951586
commit c4ceb6157c
2 changed files with 5 additions and 2 deletions

View File

@@ -150,7 +150,9 @@ const RightSliderBottomRo = RecognitionObject.TemplateMatch(file.ReadImageMatSyn
ConfigureStatue = true; ConfigureStatue = true;
} }
return ConfigureStatue; return ConfigureStatue;
} // Main }
// Main
if (!!settings.partyName) { if (!!settings.partyName) {
try { try {
if (!settings.disableGoStatue) { if (!settings.disableGoStatue) {
@@ -173,6 +175,7 @@ const RightSliderBottomRo = RecognitionObject.TemplateMatch(file.ReadImageMatSyn
await SwitchParty(settings.partyName); await SwitchParty(settings.partyName);
} }
} }
genshin.clearPartyCache();
} catch (error) { } catch (error) {
log.error("队伍切换失败:" + error.message); log.error("队伍切换失败:" + error.message);
notification.error("队伍切换失败:" + error.message); notification.error("队伍切换失败:" + error.message);

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "返回七天神像切换指定队伍加速版", "name": "返回七天神像切换指定队伍加速版",
"version": "1.2", "version": "1.3",
"bgi_version": "0.44.4", "bgi_version": "0.44.4",
"description": "", "description": "",
"authors": [ "authors": [