From 77505a6f5b83de281af56309d1a40702389c23e3 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: Sun, 1 Sep 2024 09:31:59 +0800 Subject: [PATCH] release: 2.2.31 --- manifest.json | 2 +- package.json | 2 +- src/common/helper.ts | 12 ++++++------ src/common/qq-basic-info.ts | 2 +- src/common/version.ts | 2 +- src/webui/ui/NapCat.ts | 2 +- static/assets/renderer.js | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index 55b8e0da..973fdcf1 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.30", + "version": "2.2.31", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index c5deab8d..b9950d9d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.30", + "version": "2.2.31", "scripts": { "build:framework": "vite build --mode framework", "build:shell": "vite build --mode shell", diff --git a/src/common/helper.ts b/src/common/helper.ts index 2c7a5fcd..aa37e0cd 100644 --- a/src/common/helper.ts +++ b/src/common/helper.ts @@ -138,19 +138,19 @@ export function isEqual(obj1: any, obj2: any) { export function getDefaultQQVersionConfigInfo(): QQVersionConfigType { if (os.platform() === 'linux') { return { - baseVersion: '3.2.12-27254', - curVersion: '3.2.12-27254', + baseVersion: '3.2.12-27597', + curVersion: '3.2.12-27597', prevVersion: '', onErrorVersions: [], - buildId: '27254', + buildId: '27597', }; } return { - baseVersion: '9.9.15-27391', - curVersion: '9.9.15-27391', + baseVersion: '9.9.15-27597', + curVersion: '9.9.15-27597', prevVersion: '', onErrorVersions: [], - buildId: '27391', + buildId: '27597', }; } diff --git a/src/common/qq-basic-info.ts b/src/common/qq-basic-info.ts index c1575d19..4e063ee2 100644 --- a/src/common/qq-basic-info.ts +++ b/src/common/qq-basic-info.ts @@ -71,6 +71,6 @@ export class QQBasicInfoWrapper { // else this.context.logger.log(`[QQ版本兼容性检测] 获取Appid异常 请检测NapCat/QQNT是否正常`); this.context.logger.log(`[QQ版本兼容性检测] ${fullVersion} 版本兼容性不佳,可能会导致一些功能无法正常使用`,); - return { appid: systemPlatform === 'linux' ? '537240795' : '537240709', qua: this.getQUAInternal() }; + return { appid: systemPlatform === 'linux' ? '537243600' : '537243441', qua: this.getQUAInternal() }; } } diff --git a/src/common/version.ts b/src/common/version.ts index ba1524b0..8119c532 100644 --- a/src/common/version.ts +++ b/src/common/version.ts @@ -1 +1 @@ -export const napCatVersion = '2.2.30'; +export const napCatVersion = '2.2.31'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 29b3e1ef..ca680740 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.30', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.31', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index ab5881ef..2041ae84 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.30", "napcat-update-button", "secondary") + SettingButton("V2.2.31", "napcat-update-button", "secondary") ) ]), SettingList([