mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-16 03:33:25 +08:00
修复登录其他账号异常 (#2493)
This commit is contained in:
@@ -535,7 +535,7 @@ async function recognizeTextAndClick(targetText, ocrRegion, timeout = 8000) {
|
||||
await sleep(9000);
|
||||
await matchImgAndClick(login_out_account, "登录页的右下角退出按钮");
|
||||
await matchImgAndClick(out_account, "退出当前账号");
|
||||
await matchImgAndClick(login_other_account, "登录其他账号");
|
||||
await recognizeTextAndClick("登录其他账号", RecognitionObject.Ocr(300, 200, 1200, 800), 5000);
|
||||
await sleep(1000);
|
||||
await matchImgAndClick(input_phone_or_email, "填写邮箱/手机号");
|
||||
await inputText(settings.username);
|
||||
@@ -565,7 +565,7 @@ async function recognizeTextAndClick(targetText, ocrRegion, timeout = 8000) {
|
||||
* 如果发现卡在这一步,请适当延长sleep时间
|
||||
*/
|
||||
await sleep(8000);
|
||||
await recognizeTextAndClick("点击进入", RecognitionObject.Ocr(862, 966, 206, 104), 960, 540, 5000);
|
||||
await recognizeTextAndClick("点击进入", RecognitionObject.Ocr(862, 966, 206, 104), 5000);
|
||||
await sleep(15000);
|
||||
|
||||
//可能登录账号的时候出现月卡提醒,则先点击一次月卡。
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "切换账号多模式",
|
||||
"version": "1.4",
|
||||
"version": "1.5",
|
||||
"bgi_version": "0.53.0",
|
||||
"description": "多种模式的切换账号,有下拉列表、填写账号密码,OCR操作或键鼠操作\n免责申明:所有的账号密码均保存在本地,请使用者妥善保管账号密码,请勿外泄账号密码。若因使用此脚本导致的账号泄露、封禁问题与脚本作者无关。",
|
||||
"tags": [
|
||||
|
||||
Reference in New Issue
Block a user