From 4333ab624e03cf277753c2e7c586f42541767501 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: Sun, 5 May 2024 21:41:36 +0800 Subject: [PATCH] fix: version check --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3ed44336..e793eab3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ checkVersion().then((remoteVersion: string) => { log('[NapCat] 当前版本:', localVersion); for (const k of [0, 1, 2]) { if (parseInt(remoteVersionList[k]) > parseInt(localVersionList[k])) { - console.log('[NapCat] 检测到更新,请前往 https://github.com/NapNeko/NapCatQQ 下载 NapCatQQ V', remoteVersion); + console.log(`[NapCat] 检测到更新,请前往 https://github.com/NapNeko/NapCatQQ 下载 NapCatQQ V ${remoteVersion}`); return; } else if (parseInt(remoteVersionList[k]) < parseInt(localVersionList[k])) { break;