Revert "feat: FrameWork调整"

This reverts commit f30ce97b13.
This commit is contained in:
手瓜一十雪 committed 2024-09-26 17:01:18 +08:00
1 parent 62d4fa3f74
commit d1065db843
3 files changed
+3 -11

No files matched your search

+1 -2
View File
@@ -21,8 +21,7 @@ export class NapCatPathWrapper {
this.logsPath = path.join(writePath, 'logs');
this.configPath = path.join(writePath, 'config');
this.cachePath = path.join(writePath, 'cache');
//这个必然和本体一起
this.staticPath = path.join(dirname(fileURLToPath(import.meta.url)), 'static');
this.staticPath = path.join(this.binaryPath, 'static');
if (!fs.existsSync(this.logsPath)) {
fs.mkdirSync(this.logsPath, { recursive: true });
}