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([