chore: 进度提交

This commit is contained in:
手瓜一十雪 committed 2024-08-08 17:51:15 +08:00
1 parent c417a95e1f
commit c70b2eaa30
16 files changed
+1139 -701

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import path, { dirname } from "path";
import { fileURLToPath } from "url";
export class NapCatPathWrapper {
binaryPath: string;
logsPath: string;
configPath: string;
constructor(mainPath: string = dirname(fileURLToPath(import.meta.url))) {
this.binaryPath = mainPath;
this.logsPath = path.join(this.binaryPath, "logs");
this.configPath = path.join(this.binaryPath, "config");
}
}