mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix.修复掉线重连的识别问题
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"UseMedicine",
|
||||
"UseStone",
|
||||
"EndOfAction",
|
||||
"PrtsErrorConfirm",
|
||||
"OfflineConfirm",
|
||||
"StartToWakeUp",
|
||||
"TodaysSupplies",
|
||||
@@ -64,6 +65,7 @@
|
||||
"PRTS",
|
||||
"PrtsErrorConfirm",
|
||||
"EndOfAction",
|
||||
"OfflineConfirm",
|
||||
"WaitAfterPRTS"
|
||||
]
|
||||
},
|
||||
@@ -174,21 +176,38 @@
|
||||
},
|
||||
"PrtsErrorConfirm": {
|
||||
"template": "PrtsErrorConfirm.png",
|
||||
"templThreshold": 0.8,
|
||||
"cache": false,
|
||||
"action": "doNothing",
|
||||
"next": [
|
||||
"AbandonAction"
|
||||
"AbandonAction",
|
||||
"OfflineConfirmAfterBattle"
|
||||
]
|
||||
},
|
||||
"AbandonAction": {
|
||||
"template": "AbandonAction.png",
|
||||
"action": "clickSelf",
|
||||
"cache": false,
|
||||
"reduceOtherTimes": [
|
||||
"StartButton1",
|
||||
"StartButton2",
|
||||
"Loading"
|
||||
],
|
||||
"next": [
|
||||
"EndOfAction"
|
||||
"EndOfAction",
|
||||
"StartToWakeUp",
|
||||
"OfflineConfirm"
|
||||
]
|
||||
},
|
||||
"OfflineConfirmAfterBattle": {
|
||||
"template": "PopupConfirm.png",
|
||||
"action": "clickSelf",
|
||||
"cache": false,
|
||||
"next": [
|
||||
"PRTS",
|
||||
"PrtsErrorConfirm",
|
||||
"OfflineConfirm",
|
||||
"StartToWakeUp"
|
||||
]
|
||||
},
|
||||
"OfflineConfirm": {
|
||||
|
||||
@@ -4,6 +4,7 @@ using Stylet;
|
||||
using StyletIoC;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace MeoAsstGui
|
||||
@@ -154,8 +155,13 @@ namespace MeoAsstGui
|
||||
mfvm.RunStatus = "出现错误,已停止运行";
|
||||
break;
|
||||
}
|
||||
|
||||
++_retryTimes;
|
||||
AsstStartSanity();
|
||||
Task.Run(() =>
|
||||
{
|
||||
AsstStop();
|
||||
AsstStartSanity();
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -326,7 +326,6 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
<PostBuildEvent>xcopy /e /y /i /c $(SolutionDir)resource $(TargetDir)resource</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user