From 509390af200cc5f9d7c4f2db29c33646965b2213 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: Fri, 23 Aug 2024 11:01:24 +0800 Subject: [PATCH] release: 2.2.2 --- manifest.json | 2 +- package.json | 4 ++-- src/common/framework/napcat.ts | 2 +- src/onebot/action/msg/SendMsg/create-send-elements.ts | 2 +- src/webui/ui/NapCat.ts | 2 +- static/assets/renderer.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 23cbdb29..bee47adb 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.1", + "version": "2.2.2", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index 3b50c87c..6a62f2c3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.1", + "version": "2.2.2", "scripts": { "build:framework": "vite build --mode framework", "build:shell": "vite build --mode shell", @@ -48,7 +48,7 @@ "ajv": "^8.13.0", "async-mutex": "^0.5.0", "chalk": "^5.3.0", - "commander": "^12.2.1", + "commander": "^12.1.0", "cors": "^2.8.5", "express": "^5.0.0-beta.2", "fast-xml-parser": "^4.3.6", diff --git a/src/common/framework/napcat.ts b/src/common/framework/napcat.ts index 65ce3300..2a16c0f3 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.1'; +export const napcat_version = '2.2.2'; export class NapCatPathWrapper { binaryPath: string; diff --git a/src/onebot/action/msg/SendMsg/create-send-elements.ts b/src/onebot/action/msg/SendMsg/create-send-elements.ts index 226023df..14410e69 100644 --- a/src/onebot/action/msg/SendMsg/create-send-elements.ts +++ b/src/onebot/action/msg/SendMsg/create-send-elements.ts @@ -171,7 +171,7 @@ const _handlers: { } else { postData = data; } - // Mlikiowa V2.2.1 Refactor Todo + // Mlikiowa V2.2.2 Refactor Todo const signUrl = obContext.configLoader.configData.musicSignUrl; if (!signUrl) { if (data.type === 'qq') { diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 2c50f629..5a4dd8a1 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.1', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.2', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index cf18cab1..30c78a57 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.1", "napcat-update-button", "secondary") + SettingButton("V2.2.2", "napcat-update-button", "secondary") ) ]), SettingList([