From 4c834fd640f4bf4276c82b92a2d49d342815c1c8 Mon Sep 17 00:00:00 2001 From: Hao Guan <10684225+hguandl@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:10:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20Major=E8=8E=B7=E5=8F=96Appid=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA=20(#480)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/qq-basic-info.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/qq-basic-info.ts b/src/common/qq-basic-info.ts index f1d4e0a6..126ec37d 100644 --- a/src/common/qq-basic-info.ts +++ b/src/common/qq-basic-info.ts @@ -85,7 +85,10 @@ export class QQBasicInfoWrapper { // 通过Major拉取 性能差 try { let majorAppid = this.getAppidV2ByMajor(fullVersion); - if (majorAppid) { return { appid: majorAppid, qua: this.getQUAFallback() }; } + if (majorAppid) { + this.context.logger.log(`[QQ版本兼容性检测] 当前版本Appid未内置 通过Major获取 为了更好的性能请尝试更新NapCat`); + return { appid: majorAppid, qua: this.getQUAFallback() }; + } } catch (error) { this.context.logger.log(`[QQ版本兼容性检测] 通过Major 获取Appid异常 请检测NapCat/QQNT是否正常`); }