new things.

This commit is contained in:
2025-09-12 20:45:48 -04:00
parent c2eb111291
commit 5934f1a91c
11 changed files with 43 additions and 13 deletions

View File

@@ -1,3 +1,9 @@
import { platform } from "node:process";
import Logging, { TimeFormat } from "@proxnet/undead-logging";
export const RootPath = Deno.mainModule.substring(platform == 'win32' ? 8 : 7, Deno.mainModule.length - 11);
const log = new Logging("Path");
export const RootPath = Deno.mainModule.substring(platform == 'win32' ? 8 : 7, Deno.mainModule.length - 11);
log.timeFormat = TimeFormat.Unix;
log.i(`RootPath: ${RootPath}`);