上传调用abgi的一条龙,和删掉多余文件 (#2326)

* Add files via upload

* Delete repo/js/AutoPickLitter/main copy.js
This commit is contained in:
古又
2025-11-08 00:32:06 +08:00
committed by GitHub
parent 48fa72e492
commit bdf499126a
11 changed files with 96 additions and 1123 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,48 @@
# OBS录制
## 介绍
#### 该脚本是搭配auto-bgi软件使用进行开启一条龙
#### 不了解的可以去BetterGI的QQ频道搜索【auto-bgi】
#### 也可以电脑点击【[ABGI](https://gitee.com/wangjian0327/auto-bgi/blob/ginVue/README.md)】,进行学习,了解
------
## <font color=red>注意</font>
#### 使用`调用一条龙`脚本时,`ABGI`最低版本为【<font color=#FF69B4>3.1</font>】
------
## 使用方法
#### 在`调度器`中新建`配置组``配置组`添加`调用一条龙`右键脚本名字找到【修改通用配置】将里面的【JS HTTP权限】下的`禁用`选择`启用`在【修改JS脚本自定义设置】选or填相关内容
#### 图文教程拿`OBS录制`做示例
------
#### 图文教程步骤一:
<img style="zoom:200%;" alt="image" src="assets/img/步骤一.png" />
#### 图文教程步骤二:
<img style="zoom:200%;" alt="image" src="assets/img/步骤二.png" />
#### 图文教程步骤三:
<img style="zoom:200%;" alt="image" src="assets/img/步骤三.png" />
#### 图文教程步骤四:
<img style="zoom:200%;" alt="image" src="assets/img/步骤四.png" />
#### 图文教程步骤五
<img style="zoom:200%;" alt="image" src="assets/img/步骤五.png" />
#### 图文教程步骤六
<img style="zoom:200%;" alt="image" src="assets/img/步骤六.png" />
------
## 版本
#### 0.0.1
有啥不懂的,八九十群,可以艾特【古又】

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,14 @@
(async function () {
try {
// 判断你是否运行ABGI
const exitABGI = await http.request('GET', `http://localhost:8082/api/index`, null, null);
log.debug(`ABGI状态: ${JSON.stringify(exitABGI.body)}`);
} catch (error) {
log.error("ABGI未运行");
return;
};
const listResp = await http.request('POST',"http://localhost:8082/api/oneLong/startOneLong",`${settings.oneDragonName}`,null);
})();

View File

@@ -0,0 +1,26 @@
{
"manifest_version": 1,
"name": "启动一条龙",
"version": "0.0.1",
"tags": [
"abgi"
],
"description": "调用ABGI接口启动一条龙",
"saved_files": [
],
"authors": [
{
"name": "隔壁老王",
"links": "https://github.com/wjdsg0327"
},
{
"name": "古又",
"links": "https://github.com/guyou45"
}
],
"http_allowed_urls": [
"http://localhost:8082/api/*"
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,8 @@
[
{
"name": "oneDragonName",
"type": "input-text",
"label": "输入要启动的一条龙(默认:默认配置)",
"default": "默认配置"
}
]