diff --git a/manifest.json b/manifest.json index daa2e81c0..23cbdb29d 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.0", + "version": "2.2.1", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index 282db17c0..3b50c87c0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.0", + "version": "2.2.1", "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.0", + "commander": "^12.2.1", "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 b4122f900..65ce3300e 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.0'; +export const napcat_version = '2.2.1'; export class NapCatPathWrapper { binaryPath: string; diff --git a/src/core/external/appid.json b/src/core/external/appid.json index 0cce792c5..7f72b6755 100644 --- a/src/core/external/appid.json +++ b/src/core/external/appid.json @@ -22,5 +22,9 @@ "9.9.15-27254":{ "appid": 537240709, "qua": "V1_WIN_NQ_9.9.15_27254_GW_B" + }, + "9.9.15-27333": { + "appid": 537240709, + "qua": "V1_WIN_NQ_9.9.15_27333_GW_B" } } \ No newline at end of file diff --git a/src/framework/napcat.cjs b/src/framework/napcat.cjs index d309ec43d..fb85cafc7 100644 --- a/src/framework/napcat.cjs +++ b/src/framework/napcat.cjs @@ -1,4 +1,5 @@ -// 用于 NapCat 对QQ流程分析 +// 此代码禁止除NapCat外任何地方使用 使用需获取许可 + let Process = require('process'); let os = require('os'); let path = require('path'); diff --git a/src/onebot/action/msg/SendMsg/create-send-elements.ts b/src/onebot/action/msg/SendMsg/create-send-elements.ts index 57bdeee3a..226023df8 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.0 Refactor Todo + // Mlikiowa V2.2.1 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 662b0d104..2c50f629c 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.0', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.1', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index fff53bd2d..cf18cab11 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.0", "napcat-update-button", "secondary") + SettingButton("V2.2.1", "napcat-update-button", "secondary") ) ]), SettingList([