Fix URL formatting in error message for QQ version (#1396)
Some checks are pending
Build NapCat Artifacts / Build-Framework (push) Waiting to run
Build NapCat Artifacts / Build-Shell (push) Waiting to run

This commit is contained in:
huan-yp 2025-11-25 12:59:37 +08:00 committed by GitHub
parent 3c612e03ff
commit 7c701781a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ export class NTQQPacketApi {
const table = typedOffset[qqVer + '-' + os.arch()]; const table = typedOffset[qqVer + '-' + os.arch()];
if (!table) { if (!table) {
const err = `[Core] [Packet] PacketBackend 不支持当前QQ版本架构${qqVer}-${os.arch()} const err = `[Core] [Packet] PacketBackend 不支持当前QQ版本架构${qqVer}-${os.arch()}
https://github.com/NapNeko/NapCatQQ/releases/tag/v${napCatVersion} 配置正确的QQ版本`; https://github.com/NapNeko/NapCatQQ/releases/tag/${napCatVersion} 配置正确的QQ版本`;
this.logger.logError(err); this.logger.logError(err);
this.errStack.push(err); this.errStack.push(err);
return false; return false;