From 29157a619ea996d0ceaaf0f3fcb1a169e53ca01a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8F=A4=E5=8F=88?=
<104784428+guyou45@users.noreply.github.com>
Date: Fri, 19 Dec 2025 18:06:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=94=BEbat=E8=84=9A=E6=9C=AC?=
=?UTF-8?q?=E5=85=B3=E9=94=AE=E5=AD=97=20(#2528)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
repo/js/ABGIHoui/README.md | 10 +++++-----
repo/js/ABGIHoui/main.js | 3 +++
repo/js/ABGIHoui/manifest.json | 2 +-
repo/js/ABGIHoui/settings.json | 3 ++-
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/repo/js/ABGIHoui/README.md b/repo/js/ABGIHoui/README.md
index 691702788..c5e9c309f 100644
--- a/repo/js/ABGIHoui/README.md
+++ b/repo/js/ABGIHoui/README.md
@@ -4,8 +4,8 @@
#### 不了解的可以去BetterGI的QQ频道搜索【auto-bgi】
#### 也可以电脑点击【[ABGI](https://gitee.com/wangjian0327/auto-bgi/blob/ginVue/README.md)】,进行学习,了解,以及加入QQ群215053644
##### 可启动的功能有
- "一条龙",
- "配置组",
+ "一条龙", (参数为:一条龙名字,ps:【默认配置】)
+ "配置组", (参数为:配置组名字,ps:【锄地】)
"狗粮联机上线",
"狗粮联机下线",
"狗粮联机调试",
@@ -15,13 +15,13 @@
"电脑静音",
"开始obs录制",
"结束obs录制",
- "米游社签到" (需要自己配置相关文件)
- "启动bat脚本"(待内置)
+ "米游社签到", (需要自己配置相关文件)
+ "启动bat脚本",(参数为:bat脚本路径,ps:【E:\ABGI\重启.bat】)
------
## 注意
- #### 使用`ABGIHoui`脚本时,`ABGI`最低版本为【3.3.10】
+ #### 使用`ABGIHoui`脚本时,`ABGI`最低版本为【3.4.5】
#### 原理解释
这是ABGI内置关键词识别,然后进行调用功能
diff --git a/repo/js/ABGIHoui/main.js b/repo/js/ABGIHoui/main.js
index acd22aadd..bb9090da8 100644
--- a/repo/js/ABGIHoui/main.js
+++ b/repo/js/ABGIHoui/main.js
@@ -36,6 +36,9 @@
case "米游社签到":
log.info(`ABGI启动${settings.selectTask}`+":");
return;
+ case "bat脚本":
+ log.info(`ABGI启动BAT脚本`+":"+`${settings.inputText}`);
+ return;
default:
log.error(`ABGI不支持的任务${settings.selectTask}`);
return;
diff --git a/repo/js/ABGIHoui/manifest.json b/repo/js/ABGIHoui/manifest.json
index 14cdfdf78..32779e7a3 100644
--- a/repo/js/ABGIHoui/manifest.json
+++ b/repo/js/ABGIHoui/manifest.json
@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "老王妙妙屋",
- "version": "0.2",
+ "version": "0.3",
"tags": [
"abgi"
],
diff --git a/repo/js/ABGIHoui/settings.json b/repo/js/ABGIHoui/settings.json
index 21a56e221..96defb701 100644
--- a/repo/js/ABGIHoui/settings.json
+++ b/repo/js/ABGIHoui/settings.json
@@ -15,7 +15,8 @@
"电脑静音",
"开始obs录制",
"结束obs录制",
- "米游社签到"
+ "米游社签到",
+ "bat脚本"
],
"default": ""
},