mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
perf: 账号切换退出账号增加OCR (#11258)
* perf: 尝试增强账号切换功能稳定性
* fix: 将带文字的模板匹配的闭运算设为false
* Revert "fix: 将带文字的模板匹配的闭运算设为false"
This reverts commit afe42d1679.
This commit is contained in:
@@ -2180,7 +2180,7 @@
|
||||
"Logout": {
|
||||
"action": "ClickSelf",
|
||||
"roi": [660, 460, 140, 50],
|
||||
"next": ["LogoutConfirm"]
|
||||
"next": ["LogoutConfirm", "LogoutConfirmOCR", "Logout"]
|
||||
},
|
||||
"LogoutOCR": {
|
||||
"baseTask": "Logout",
|
||||
@@ -2194,6 +2194,14 @@
|
||||
"next": ["AccountManager", "AccountManager@LoadingText"],
|
||||
"postDelay": 3000
|
||||
},
|
||||
"LogoutConfirmOCR": {
|
||||
"algorithm": "OcrDetect",
|
||||
"action": "ClickSelf",
|
||||
"text": ["是"],
|
||||
"roi": [650, 450, 280, 60],
|
||||
"next": ["AccountManager", "AccountManager@LoadingText"],
|
||||
"postDelay": 3000
|
||||
},
|
||||
"ExitOld": {
|
||||
"action": "ClickSelf",
|
||||
"roi": [770, 350, 190, 60],
|
||||
|
||||
Reference in New Issue
Block a user