From 515a21761dc2640d98960159bcb3ff42a54df858 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, 16 Sep 2024 18:11:33 +0800 Subject: [PATCH] back: linux to 27254 --- src/common/helper.ts | 13 +++++++++++-- src/common/qq-basic-info.ts | 24 ++++++++++++------------ src/core/external/appid.json | 11 +++++++++++ 3 files changed, 34 insertions(+), 14 deletions(-) diff --git a/src/common/helper.ts b/src/common/helper.ts index c758c3a9..637fa803 100644 --- a/src/common/helper.ts +++ b/src/common/helper.ts @@ -163,8 +163,17 @@ export function isEqual(obj1: any, obj2: any) { export function getDefaultQQVersionConfigInfo(): QQVersionConfigType { if (os.platform() === 'linux') { return { - baseVersion: '3.2.12-27597', - curVersion: '3.2.12-27597', + baseVersion: '3.2.12.27254', + curVersion: '3.2.12.27254', + prevVersion: '', + onErrorVersions: [], + buildId: '27254', + }; + } + if (os.platform() === 'darwin') { + return { + baseVersion: '6.9.53.27597', + curVersion: '6.9.53.27597', prevVersion: '', onErrorVersions: [], buildId: '27597', diff --git a/src/common/qq-basic-info.ts b/src/common/qq-basic-info.ts index 4184902b..9d6aa50a 100644 --- a/src/common/qq-basic-info.ts +++ b/src/common/qq-basic-info.ts @@ -53,23 +53,23 @@ export class QQBasicInfoWrapper { //此方法不要直接使用 getQUAInternal() { switch (systemPlatform) { - case 'linux': - return `V1_LNX_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; - case 'darwin': - return `V1_MAC_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; - default: - return `V1_WIN_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; + case 'linux': + return `V1_LNX_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; + case 'darwin': + return `V1_MAC_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; + default: + return `V1_WIN_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`; } } getAppidInternal() { switch (systemPlatform) { - case 'linux': - return '537243600'; - case 'darwin': - return '537243441'; - default: - return '537243538'; + case 'linux': + return '537240795'; + case 'darwin': + return '537243538'; + default: + return '537243441'; } } diff --git a/src/core/external/appid.json b/src/core/external/appid.json index 50d410db..cdc03108 100644 --- a/src/core/external/appid.json +++ b/src/core/external/appid.json @@ -1,4 +1,14 @@ { + + "3.2.12-27254":{ + "appid": 537240795, + "qua": "V1_LNX_NQ_3.2.12_27254_GW_B" + }, + "9.9.15-27254":{ + "appid": 537240709, + "qua": "V1_WIN_NQ_9.9.15_27254_GW_B" + }, + "3.2.12-27597": { "appid": 537243600, "qua": "V1_LNX_NQ_3.2.12_27597_GW_B" @@ -11,6 +21,7 @@ "appid": 537243538, "qua": "V1_MAC_NQ_6.9.53_27597_GW_B" }, + "9.9.15-28060":{ "appid": 537246092, "qua": "V1_WIN_NQ_9.9.15_28060_GW_B"