From 23ee480c4fe797652cf2b91030135339ba15cbb1 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, 12 Aug 2024 00:22:17 +0800 Subject: [PATCH] fix --- src/core/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.ts b/src/core/core.ts index cb5718a7..2bcde3fc 100644 --- a/src/core/core.ts +++ b/src/core/core.ts @@ -56,7 +56,7 @@ export class NapCatCore { UserApi: new NTQQUserApi(this.context, this), GroupApi: new NTQQGroupApi(this.context, this), }; - this.config = new NapCatConfig(this,this.context.pathWrapper.cachePath); + this.config = new NapCatConfig(this,this.context.pathWrapper.configPath); this.NapCatDataPath = path.join(this.dataPath, 'NapCat'); fs.mkdirSync(this.NapCatDataPath, { recursive: true }); this.NapCatTempPath = path.join(this.NapCatDataPath, 'temp');