release: 2.5.4
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s

This commit is contained in:
手瓜一十雪 committed 2024-09-16 20:57:56 +08:00
1 parent de48b0f940
commit 236bec11ed
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
"name": "NapCatQQ", "name": "NapCatQQ",
"slug": "NapCat.Framework", "slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现", "description": "高性能的 OneBot 11 协议实现",
"version": "2.5.3", "version": "2.5.4",
"icon": "./logo.png", "icon": "./logo.png",
"authors": [ "authors": [
{ {
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "napcat", "name": "napcat",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "2.5.3", "version": "2.5.4",
"scripts": { "scripts": {
"build:framework": "vite build --mode framework", "build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell", "build:shell": "vite build --mode shell",
+1 -1
View File
@@ -1 +1 @@
export const napCatVersion = '2.5.3'; export const napCatVersion = '2.5.4';
+1 -1
View File
@@ -609,7 +609,7 @@ export class OneBotMsgApi {
[OB11MessageDataType.miniapp]: async () => undefined, [OB11MessageDataType.miniapp]: async () => undefined,
[OB11MessageDataType.contact]: async ({ data }, context) => { [OB11MessageDataType.contact]: async ({ data }, context) => {
let arkJson = await this.core.apis.UserApi.getBuddyRecommendContactArkJson(data.qq, ''); let arkJson = await this.core.apis.UserApi.getBuddyRecommendContactArkJson(data.id.toString(), '');
return this.ob11ToRawConverters.json({ return this.ob11ToRawConverters.json({
data: { data: arkJson.arkMsg }, data: { data: arkJson.arkMsg },
type: OB11MessageDataType.json type: OB11MessageDataType.json
+1 -1
View File
@@ -85,7 +85,7 @@ export interface OB11MessageText {
export interface OB11MessageContext { export interface OB11MessageContext {
type: OB11MessageDataType.contact, type: OB11MessageDataType.contact,
data: { data: {
qq: string, id: string,
} }
} }
export interface OB11MessageFileBase { export interface OB11MessageFileBase {
+1 -1
View File
@@ -30,7 +30,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('V2.5.3', 'napcat-update-button', 'secondary'), SettingButton('V2.5.4', 'napcat-update-button', 'secondary'),
), ),
]), ]),
SettingList([ SettingList([
+1 -1
View File
@@ -164,7 +164,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("V2.5.3", "napcat-update-button", "secondary") SettingButton("V2.5.4", "napcat-update-button", "secondary")
) )
]), ]),
SettingList([ SettingList([