perf: 账号切换退出账号增加OCR (#11258)

* perf: 尝试增强账号切换功能稳定性

* fix: 将带文字的模板匹配的闭运算设为false

* Revert "fix: 将带文字的模板匹配的闭运算设为false"

This reverts commit afe42d1679.
This commit is contained in:
晓丶梦丶仁
2024-12-01 09:44:00 +08:00
committed by GitHub
parent 2f61a4d31f
commit b4a674efe5

View File

@@ -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],