From 9c34f558d34ba3e66a1c401bbf5256798607cde4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 26 Aug 2024 02:16:24 +0800 Subject: [PATCH] release: 2.2.11 --- manifest.json | 2 +- package.json | 2 +- src/common/framework/napcat.ts | 2 +- src/onebot/api/msg.ts | 1 - src/webui/ui/NapCat.ts | 2 +- static/assets/renderer.js | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 87e7588a..0406eb57 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.10", + "version": "2.2.11", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index 10ff32fa..801f6442 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.10", + "version": "2.2.11", "scripts": { "build:framework": "vite build --mode framework", "build:shell": "vite build --mode shell", diff --git a/src/common/framework/napcat.ts b/src/common/framework/napcat.ts index 61a4eed3..f7b62a92 100644 --- a/src/common/framework/napcat.ts +++ b/src/common/framework/napcat.ts @@ -2,7 +2,7 @@ import path, { dirname } from 'path'; import { fileURLToPath } from 'url'; import fs from 'fs'; -export const napcat_version = '2.2.10'; +export const napcat_version = '2.2.11'; export class NapCatPathWrapper { binaryPath: string; diff --git a/src/onebot/api/msg.ts b/src/onebot/api/msg.ts index e7a42e87..aa08713c 100644 --- a/src/onebot/api/msg.ts +++ b/src/onebot/api/msg.ts @@ -59,7 +59,6 @@ export class OneBotMsgApi { rawToOb11Converters: RawToOb11Converters = { textElement: async element => { - console.log(element); if (element.atType === AtType.notAt) { let text = element.content; if (!text.trim()) { diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 2b90e1c4..b7f87259 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V2.2.10', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.11', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index a536ff1e..370d3416 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V2.2.10", "napcat-update-button", "secondary") + SettingButton("V2.2.11", "napcat-update-button", "secondary") ) ]), SettingList([