chore: 进度提交

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

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");
}
}