Skip to content

Commit

Permalink
fix: 再次尝试解决切换账号在1440p下的异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Windsland52 committed Dec 24, 2024
1 parent 63c3ac4 commit 111deb3
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 8 deletions.
Binary file not shown.
Binary file not shown.
79 changes: 71 additions & 8 deletions assets/resource/base/pipeline/switch_account.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,18 @@
158
],
"next": [
"SwitchAccountMainExpandFlag"
"SwitchAccountMainExpandFlag",
"SwitchAccountMainExpandFlag_1440p"
],
"interrupt": [
"SwitchAccountMainExpand"
"SwitchAccountMainExpand",
"SwitchAccountMainExpand_1440p"
]
},
"SwitchAccountMainExpandFlag": {
"recognition": "TemplateMatch",
"template": [
"./SwitchAccount/AccountDel.png",
"./SwitchAccount/AccountDel1.png"
"./SwitchAccount/AccountDel.png"
],
"roi": [
682,
Expand All @@ -105,6 +106,22 @@
"SwitchLastAccount"
]
},
"SwitchAccountMainExpandFlag_1440p": {
"recognition": "OCR",
"expected": "[×xX✕✖]",
"roi": [
686,
370,
25,
77
],
"next": [
"SwitchLastAccountComplete"
],
"interrupt": [
"SwitchLastAccount_1440p"
]
},
"SwitchLastAccountComplete": {
"recognition": "OCR",
"expected": "(登|.)录",
Expand Down Expand Up @@ -142,8 +159,7 @@
"SwitchLastAccount": {
"recognition": "TemplateMatch",
"template": [
"./SwitchAccount/AccountDel.png",
"./SwitchAccount/AccountDel1.png"
"./SwitchAccount/AccountDel.png"
],
"roi": [
682,
Expand All @@ -170,11 +186,38 @@
]
}
},
"SwitchLastAccount_1440p": {
"recognition": "OCR",
"expected": "[×xX✕✖]",
"roi": [
686,
370,
25,
77
],
"order_by": "Vertical",
"index": -1,
"target_offset": [
-150,
0,
0,
0
],
"action": "Click",
"post_wait_freezes": {
"time": 300,
"target": [
437,
297,
408,
246
]
}
},
"SwitchAccountMainExpand": {
"recognition": "TemplateMatch",
"template": [
"./SwitchAccount/AccountMainExpand.png",
"./SwitchAccount/AccountMainExpand1.png"
"./SwitchAccount/AccountMainExpand.png"
],
"roi": [
682,
Expand All @@ -193,6 +236,26 @@
]
}
},
"SwitchAccountMainExpand_1440p": {
"recognition": "OCR",
"expected": "v√V",
"roi": [
685,
344,
25,
22
],
"action": "Click",
"post_wait_freezes": {
"time": 300,
"target": [
437,
297,
408,
246
]
}
},
"AccountExitButtonConfirm": {
"recognition": "OCR",
"expected": "确认",
Expand Down

0 comments on commit 111deb3

Please sign in to comment.