diff --git a/repo/js/SwitchAccountMultipleMode/main.js b/repo/js/SwitchAccountMultipleMode/main.js index ed7f7d7c4..018036021 100644 --- a/repo/js/SwitchAccountMultipleMode/main.js +++ b/repo/js/SwitchAccountMultipleMode/main.js @@ -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); //可能登录账号的时候出现月卡提醒,则先点击一次月卡。 diff --git a/repo/js/SwitchAccountMultipleMode/manifest.json b/repo/js/SwitchAccountMultipleMode/manifest.json index 06e5d1a1a..f23bacebe 100644 --- a/repo/js/SwitchAccountMultipleMode/manifest.json +++ b/repo/js/SwitchAccountMultipleMode/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "切换账号多模式", - "version": "1.4", + "version": "1.5", "bgi_version": "0.53.0", "description": "多种模式的切换账号,有下拉列表、填写账号密码,OCR操作或键鼠操作\n免责申明:所有的账号密码均保存在本地,请使用者妥善保管账号密码,请勿外泄账号密码。若因使用此脚本导致的账号泄露、封禁问题与脚本作者无关。", "tags": [