From 1ace13c72c0aa9a42bfbfe6b23585e064a8fa4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E5=8F=88?= <104784428+guyou45@users.noreply.github.com> Date: Wed, 7 Jan 2026 19:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=AF=E5=8A=A8=E4=B8=80?= =?UTF-8?q?=E6=9D=A1=E9=BE=99=E5=92=8C=E9=85=8D=E7=BD=AE=E7=BB=84=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E5=90=8E=E4=BC=9A=E5=85=B3=E9=97=AD=E5=8E=9F=E7=A5=9E?= =?UTF-8?q?=20(#2639)?= 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 | 26 ++++++++++++++++++-------- repo/js/ABGIHoui/manifest.json | 2 +- repo/js/ABGIHoui/settings.json | 2 ++ 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/repo/js/ABGIHoui/README.md b/repo/js/ABGIHoui/README.md index afb9acc3c..2b6033f78 100644 --- a/repo/js/ABGIHoui/README.md +++ b/repo/js/ABGIHoui/README.md @@ -6,6 +6,8 @@ ##### 可启动的功能有 "一条龙", [参数为:一条龙名字,Ps:【默认配置】] "配置组", [参数为:配置组名字,Ps:【锄地】] + "一条龙(关闭原神)", [参数为:一条龙名字,Ps:【默认配置】] + "配置组(关闭原神)", [参数为:配置组名字,Ps:【锄地】] "狗粮联机上线", "狗粮联机下线", "狗粮联机调试", diff --git a/repo/js/ABGIHoui/main.js b/repo/js/ABGIHoui/main.js index b594ce3b1..804b690d8 100644 --- a/repo/js/ABGIHoui/main.js +++ b/repo/js/ABGIHoui/main.js @@ -11,24 +11,34 @@ log.info(`ABGI启动${settings.selectTask}`+":"+`${settings.inputText}`); await sleep(outTime); return; + case "一条龙(关闭原神)": + await sleep(500); + log.info("ABGI启动关闭原神:一条龙-"+`${settings.inputText}`); + await sleep(outTime); + return; + case "配置组(关闭原神)": + await sleep(500); + log.info("ABGI启动关闭原神:配置组-"+`${settings.inputText}`); + await sleep(outTime); + return; case "狗粮联机上线": await sleep(500); - log.info(`ABGI启动联机上线`+":"); + log.info("ABGI启动联机上线:"); await sleep(outTime); return; case "狗粮联机下线": await sleep(500); - log.info(`ABGI启动联机下线`+":"); + log.info("ABGI启动联机下线:"); await sleep(outTime); return; case "狗粮联机调试": await sleep(500); - log.info(`ABGI启动联机调试`+":"); + log.info("ABGI启动联机调试:"); await sleep(outTime); return; case "指定脚本更新": await sleep(500); - log.info(`ABGI启动脚本更新`+":"+`${settings.inputText}`); + log.info("ABGI启动脚本更新:"+`${settings.inputText}`); await sleep(outTime); return; case "今日配置组执行情况通知": @@ -48,12 +58,12 @@ return; case "开始obs录制": await sleep(500); - log.info(`ABGI启动obs`+":"+`启动`); + log.info("ABGI启动obs:"+`启动`); await sleep(outTime); return; case "结束obs录制": await sleep(500); - log.info(`ABGI启动obs`+":"+`关闭`); + log.info("ABGI启动obs:"+`关闭`); await sleep(outTime); return; case "米游社签到": @@ -63,12 +73,12 @@ return; case "bat脚本": await sleep(500); - log.info(`ABGI启动BAT脚本`+":"+`${settings.inputText}`); + log.info("ABGI启动BAT脚本:"+`${settings.inputText}`); await sleep(outTime); return; case "联机更换ABGI的账号信息": await sleep(500); - log.info(`ABGI启动联机换号`+":"+`${settings.inputText}`); + log.info("ABGI启动联机换号:"+`${settings.inputText}`); await sleep(outTime); return; case "关闭原神": diff --git a/repo/js/ABGIHoui/manifest.json b/repo/js/ABGIHoui/manifest.json index 51c7727ce..4c7d23806 100644 --- a/repo/js/ABGIHoui/manifest.json +++ b/repo/js/ABGIHoui/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "老王妙妙屋", - "version": "0.6", + "version": "0.7", "tags": [ "abgi" ], diff --git a/repo/js/ABGIHoui/settings.json b/repo/js/ABGIHoui/settings.json index 512629e91..4d2ebccf2 100644 --- a/repo/js/ABGIHoui/settings.json +++ b/repo/js/ABGIHoui/settings.json @@ -6,6 +6,8 @@ "options": [ "一条龙", "配置组", + "一条龙(关闭原神)", + "配置组(关闭原神)", "狗粮联机上线", "狗粮联机下线", "狗粮联机调试",