From f4d53dae914aa895e9724451234aded8a3b70399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E5=8F=88?= <104784428+guyou45@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:35:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20(#2749)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/ABGIHoui/README.md | 2 +- repo/js/ABGIHoui/main.js | 22 +++++++++++----------- repo/js/ABGIHoui/manifest.json | 2 +- repo/js/ABGIHoui/settings.json | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/repo/js/ABGIHoui/README.md b/repo/js/ABGIHoui/README.md index 3f7d2f7b0..de22cb993 100644 --- a/repo/js/ABGIHoui/README.md +++ b/repo/js/ABGIHoui/README.md @@ -20,7 +20,7 @@ "米游社签到", [需要自己配置相关文件] "启动bat脚本",[参数为:bat脚本路径,Ps:【E:\ABGI\重启.bat】] "联机更换ABGI的账号信息",[参数为:uid-name,Ps:【1*******-原神大王】] - "更换联机房间",[参数为:房间名字+vip密钥,Ps:【古叉别断网-GUYOUSHIGEHAOREN】] + "等待时间",[参数为:多少秒,Ps:【5000】] ------ diff --git a/repo/js/ABGIHoui/main.js b/repo/js/ABGIHoui/main.js index bacb0dff3..9073ebf7b 100644 --- a/repo/js/ABGIHoui/main.js +++ b/repo/js/ABGIHoui/main.js @@ -114,17 +114,17 @@ async function compareVersion(version1, version2) { // log.info(`ABGI启动${settings.selectTask}`+":"); // await sleep(outTime); // return; - case "更换联机房间": - result = await compareVersion(settings.versionABGI, "3.5.25"); - if (result == -1) { - log.error("无法调用该任务,请更新ABGI至3.5.25版本或更高版本"); - await sleep(outTime); - return; - }; - await sleep(500); - log.info(`ABGI启动更换房间:`+`${settings.inputText}`); - await sleep(outTime); - return; + // case "更换联机房间": + // result = await compareVersion(settings.versionABGI, "3.5.25"); + // if (result == -1) { + // log.error("无法调用该任务,请更新ABGI至3.5.25版本或更高版本"); + // await sleep(outTime); + // return; + // }; + // await sleep(500); + // log.info(`ABGI启动更换房间:`+`${settings.inputText}`); + // await sleep(outTime); + // return; case "等待时间(单位为秒)": const pureDigitStr = String(settings.inputText).replace(/\D/g, ""); await sleep(pureDigitStr*1000); diff --git a/repo/js/ABGIHoui/manifest.json b/repo/js/ABGIHoui/manifest.json index 6d16a52c1..dcebb8be3 100644 --- a/repo/js/ABGIHoui/manifest.json +++ b/repo/js/ABGIHoui/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "老王妙妙屋", - "version": "0.9", + "version": "0.9.1", "tags": [ "abgi" ], diff --git a/repo/js/ABGIHoui/settings.json b/repo/js/ABGIHoui/settings.json index d58df29bb..210bc3230 100644 --- a/repo/js/ABGIHoui/settings.json +++ b/repo/js/ABGIHoui/settings.json @@ -20,7 +20,7 @@ "米游社签到", "bat脚本", "联机更换ABGI的账号信息", - "更换联机房间", + // "更换联机房间", "等待时间(单位为秒)" ], "default": ""