new things.
This commit is contained in:
@@ -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}`);
|
||||
Reference in New Issue
Block a user