mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
chore.一些小修改,更新版本号
This commit is contained in:
@@ -12,7 +12,26 @@
|
||||
"StartToWakeUp",
|
||||
"TodaysSupplies",
|
||||
"CloseAnno",
|
||||
"Terminal"
|
||||
"Terminal",
|
||||
"GameStart"
|
||||
]
|
||||
},
|
||||
"GameStart": {
|
||||
"action": "clickSelf",
|
||||
"roi": [
|
||||
550,
|
||||
600,
|
||||
200,
|
||||
120
|
||||
],
|
||||
"cache": false,
|
||||
"rearDelay": 5000,
|
||||
"maskRange": [
|
||||
1,
|
||||
255
|
||||
],
|
||||
"next": [
|
||||
"StartToWakeUp"
|
||||
]
|
||||
},
|
||||
"ReturnToTerminal": {
|
||||
|
||||
BIN
resource/template/GameStart.png
Normal file
BIN
resource/template/GameStart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -2,5 +2,5 @@
|
||||
|
||||
namespace asst
|
||||
{
|
||||
constexpr static const char* Version = "v2.1.1";
|
||||
constexpr static const char* Version = "v2.1.2";
|
||||
}
|
||||
|
||||
@@ -66,10 +66,10 @@ namespace MeoAsstGui
|
||||
AddLog("捕获模拟器窗口失败,若是第一次运行,请尝试使用管理员权限", "Red");
|
||||
return;
|
||||
}
|
||||
AddLog("正在运行中……");
|
||||
|
||||
bool ret = true;
|
||||
// 直接遍历TaskItemViewModels里面的内容,是排序后的
|
||||
int count = 0;
|
||||
foreach (var item in TaskItemViewModels)
|
||||
{
|
||||
if (item.IsChecked == false)
|
||||
@@ -77,6 +77,7 @@ namespace MeoAsstGui
|
||||
continue;
|
||||
}
|
||||
|
||||
++count;
|
||||
if (item.Name == "基建换班")
|
||||
{
|
||||
ret &= appendInfrast();
|
||||
@@ -101,11 +102,25 @@ namespace MeoAsstGui
|
||||
{
|
||||
ret &= asstProxy.AsstAppendAward();
|
||||
}
|
||||
else
|
||||
{
|
||||
--count;
|
||||
// TODO 报错
|
||||
}
|
||||
}
|
||||
if (count == 0)
|
||||
{
|
||||
AddLog("未选择任务");
|
||||
return;
|
||||
}
|
||||
setPenguinId();
|
||||
ret &= asstProxy.AsstStart();
|
||||
|
||||
if (!ret)
|
||||
if (ret)
|
||||
{
|
||||
AddLog("正在运行中……");
|
||||
}
|
||||
else
|
||||
{
|
||||
AddLog("出现未知错误");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user