Merge remote-tracking branch 'origin/main'

# Conflicts:
#	src/onebot11/action/extends/GetFriendWithCategory.ts
#	src/onebot11/action/types.ts
This commit is contained in:
linyuchen 2024-05-11 13:42:05 +08:00
commit a1baf2e32d
2 changed files with 16 additions and 1 deletions

View File

@ -6,6 +6,6 @@ QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
* 重置Rkey获取机制,使用接口分发Rkey
## 新增与调整
* 新增获取好友列表Api /get_friend_category
* 新增扩展获取好友分类列表 Api /get_friend_with_category
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)

View File

@ -0,0 +1,15 @@
import { exit } from "process";
import { resolve } from "path";
async function reboot() {
let batScript = resolve(__dirname, './napcat.bat');
let batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
let bashScript = resolve(__dirname, './napcat.sh');
//如果是win系统写出 5s延迟启动 默认batUtf8Script启动
// 如果是linux系统写出 5s延迟启动 默认bashScript启动
if (process.platform === 'win32') {
// console.log('正在重启...');
} else if (process.platform === 'linux') {
//console.log('正在重启...');
}
exit(0);
}