build: v1.5.1-beta1

This commit is contained in:
手瓜一十雪 committed 2024-06-03 21:18:24 +08:00
1 parent 5c902a21cf
commit c698ce9562
24 files changed
+22 -9

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# v1.5.1
QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
## 修复与优化
* 支持 新Api: set_self_profile 可设置个性签名
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "napcat", "name": "napcat",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "1.5.0", "version": "1.5.1",
"scripts": { "scripts": {
"watch:dev": "vite --mode development", "watch:dev": "vite --mode development",
"watch:prod": "vite --mode production", "watch:prod": "vite --mode production",
+4 -2
View File
@@ -54,7 +54,7 @@ import { GetGroupEssence } from './group/GetGroupEssence';
import { ForwardFriendSingleMsg, ForwardGroupSingleMsg } from '@/onebot11/action/msg/ForwardSingleMsg'; import { ForwardFriendSingleMsg, ForwardGroupSingleMsg } from '@/onebot11/action/msg/ForwardSingleMsg';
import { GetFriendWithCategory } from './extends/GetFriendWithCategory'; import { GetFriendWithCategory } from './extends/GetFriendWithCategory';
import { SendGroupNotice } from './go-cqhttp/SendGroupNotice'; import { SendGroupNotice } from './go-cqhttp/SendGroupNotice';
import { Reboot, RebootNormol } from './system/Reboot'; import { Reboot, RebootNormal } from './system/Reboot';
import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo'; import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo';
import { GoCQHTTPHandleQuickAction } from './go-cqhttp/QuickAction'; import { GoCQHTTPHandleQuickAction } from './go-cqhttp/QuickAction';
import { GetGroupSystemMsg } from './group/GetGroupSystemMsg'; import { GetGroupSystemMsg } from './group/GetGroupSystemMsg';
@@ -66,12 +66,14 @@ import { TranslateEnWordToZn } from './extends/TranslateEnWordToZn';
import { SetGroupFileFolder } from './file/SetGroupFileFolder'; import { SetGroupFileFolder } from './file/SetGroupFileFolder';
import { DelGroupFile } from './file/DelGroupFile'; import { DelGroupFile } from './file/DelGroupFile';
import { DelGroupFileFolder } from './file/DelGroupFileFolder'; import { DelGroupFileFolder } from './file/DelGroupFileFolder';
import { SetSelfProfile } from './extends/SetSelfProfile';
export const actionHandlers = [ export const actionHandlers = [
new RebootNormol(), new RebootNormal(),
new GetFile(), new GetFile(),
new Debug(), new Debug(),
new Reboot(), new Reboot(),
new SetSelfProfile(),
// new GetConfigAction(), // new GetConfigAction(),
// new SetConfigAction(), // new SetConfigAction(),
// new GetGroupAddRequest(), // new GetGroupAddRequest(),
+2 -2
View File
@@ -28,8 +28,8 @@ export class Reboot extends BaseAction<Payload, null> {
return null; return null;
} }
} }
export class RebootNormol extends BaseAction<Payload, null> { export class RebootNormal extends BaseAction<Payload, null> {
actionName = ActionName.RebootNormol; actionName = ActionName.RebootNormal;
protected async _handle(payload: Payload): Promise<null> { protected async _handle(payload: Payload): Promise<null> {
if (payload.delay) { if (payload.delay) {
+1 -1
View File
@@ -15,7 +15,7 @@ export interface InvalidCheckResult {
export enum ActionName { export enum ActionName {
// 以下为扩展napcat扩展 // 以下为扩展napcat扩展
RebootNormol = 'reboot_normol',//无快速登录重新启动 RebootNormal = 'reboot_normal',//无快速登录重新启动
GetRobotUinRange = 'get_robot_uin_range', GetRobotUinRange = 'get_robot_uin_range',
SetOnlineStatus = 'set_online_status', SetOnlineStatus = 'set_online_status',
GetFriendsWithCategory = 'get_friends_with_category', GetFriendsWithCategory = 'get_friends_with_category',
+1 -1
View File
@@ -1 +1 @@
export const version = '1.5.0'; export const version = '1.5.1';
+1 -1
View File
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem( SettingItem(
'<span id="napcat-update-title">Napcat</span>', '<span id="napcat-update-title">Napcat</span>',
undefined, undefined,
SettingButton('V1.5.0', 'napcat-update-button', 'secondary') SettingButton('V1.5.1', 'napcat-update-button', 'secondary')
), ),
]), ]),
SettingList([ SettingList([
+1 -1
View File
@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem( SettingItem(
'<span id="napcat-update-title">Napcat</span>', '<span id="napcat-update-title">Napcat</span>',
void 0, void 0,
SettingButton("V1.5.0", "napcat-update-button", "secondary") SettingButton("V1.5.1", "napcat-update-button", "secondary")
) )
]), ]),
SettingList([ SettingList([