From 69a19b0e32fdf50233c3fcb1aed8ca20693734f7 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: Wed, 6 Aug 2025 19:32:14 +0800 Subject: [PATCH] Fix typo in getFullQQVersion method name Corrected the method name from getFullQQVesion to getFullQQVersion in multiple locations to ensure consistency and prevent potential runtime errors. --- src/common/qq-basic-info.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/qq-basic-info.ts b/src/common/qq-basic-info.ts index 7246935d..cc9a9482 100644 --- a/src/common/qq-basic-info.ts +++ b/src/common/qq-basic-info.ts @@ -57,9 +57,9 @@ export class QQBasicInfoWrapper { //此方法不要直接使用 getQUAFallback() { const platformMapping: Partial> = { - win32: `V1_WIN_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`, - darwin: `V1_MAC_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`, - linux: `V1_LNX_${this.getFullQQVesion()}_${this.getQQBuildStr()}_GW_B`, + win32: `V1_WIN_${this.getFullQQVersion()}_${this.getQQBuildStr()}_GW_B`, + darwin: `V1_MAC_${this.getFullQQVersion()}_${this.getQQBuildStr()}_GW_B`, + linux: `V1_LNX_${this.getFullQQVersion()}_${this.getQQBuildStr()}_GW_B`, }; return platformMapping[systemPlatform] ?? (platformMapping.win32)!; } @@ -76,7 +76,7 @@ export class QQBasicInfoWrapper { getAppidV2(): { appid: string; qua: string } { // 通过已有表 性能好 const appidTbale = AppidTable as unknown as QQAppidTableType; - const fullVersion = this.getFullQQVesion(); + const fullVersion = this.getFullQQVersion(); if (fullVersion) { const data = appidTbale[fullVersion]; if (data) {