Commit 30da4945 authored by nanahira's avatar nanahira

add bat

parent 9aa11ddd
Pipeline #12416 passed with stages
in 1 minute and 6 seconds
...@@ -4,4 +4,4 @@ set -o errexit ...@@ -4,4 +4,4 @@ set -o errexit
wget -O go-cqhttp.exe https://github.com/Mrs4s/go-cqhttp/releases/download/v1.0.0-rc1/go-cqhttp_windows_amd64.exe wget -O go-cqhttp.exe https://github.com/Mrs4s/go-cqhttp/releases/download/v1.0.0-rc1/go-cqhttp_windows_amd64.exe
7z a -mx9 target.7z config.yml app-config.yaml koishi.exe go-cqhttp.exe readme.txt "$@" 7z a -mx9 target.7z config.yml app-config.yaml koishi.exe go-cqhttp.exe readme.txt go-cqhttp.bat "$@"
@echo off
go-cqhttp.exe -faststart
配置步骤: 配置步骤:
1. 在 config.yml 文件中,找到 uin 配置项填入机器人 QQ 号。 1. 在 config.yml 文件中,找到 uin 配置项填入机器人 QQ 号。。
2. 在 app-config.yaml 文件中,找到 2222222222 改成机器人 QQ 号。 2. 找到 adminIds,把 1111111111 改成管理员 QQ 号。只有管理员可以拉 QQ 机器人入群,和其他操作。
3. 找到 adminIds,把 1111111111 改成管理员 QQ 号。只有管理员可以拉 QQ 机器人入群,和其他操作。
启动步骤: 启动步骤:
1. 双击 go-cqhttp.exe 启动机器人内核,使用机器人帐号的手机 QQ 扫码登录。 1. 双击 go-cqhttp.bat 启动机器人内核,使用机器人帐号的手机 QQ 扫码登录。
2. 双击 koishi.exe 启动机器人程序。 2. 双击 koishi.exe 启动机器人程序。
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment