mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-21 04:19:51 +08:00
上传调用abgi的一条龙,和删掉多余文件 (#2326)
* Add files via upload * Delete repo/js/AutoPickLitter/main copy.js
This commit is contained in:
File diff suppressed because it is too large
Load Diff
48
repo/js/调用一条龙/README.md
Normal file
48
repo/js/调用一条龙/README.md
Normal 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
|
||||
有啥不懂的,八九十群,可以艾特【古又】
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BIN
repo/js/调用一条龙/assets/img/步骤一.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤一.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
BIN
repo/js/调用一条龙/assets/img/步骤三.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤三.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
BIN
repo/js/调用一条龙/assets/img/步骤二.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤二.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
BIN
repo/js/调用一条龙/assets/img/步骤五.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤五.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
BIN
repo/js/调用一条龙/assets/img/步骤六.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤六.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
BIN
repo/js/调用一条龙/assets/img/步骤四.png
Normal file
BIN
repo/js/调用一条龙/assets/img/步骤四.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
14
repo/js/调用一条龙/main.js
Normal file
14
repo/js/调用一条龙/main.js
Normal 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);
|
||||
})();
|
||||
26
repo/js/调用一条龙/manifest.json
Normal file
26
repo/js/调用一条龙/manifest.json
Normal 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"
|
||||
}
|
||||
8
repo/js/调用一条龙/settings.json
Normal file
8
repo/js/调用一条龙/settings.json
Normal file
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"name": "oneDragonName",
|
||||
"type": "input-text",
|
||||
"label": "输入要启动的一条龙(默认:默认配置)",
|
||||
"default": "默认配置"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user