This commit is contained in:
手瓜一十雪 2024-08-12 00:22:17 +08:00
parent 7816271302
commit 23ee480c4f

View File

@ -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');