consts.ts 458 B

12345678910111213
  1. import path from "path";
  2. import { fileURLToPath } from "url";
  3. // This is a placeholder value replaced by the build process
  4. export const APP_VERSION = "1.0.0-beta.13";
  5. export const __FILENAME = fileURLToPath(import.meta.url);
  6. export const __DIRNAME = path.dirname(__FILENAME);
  7. export const APP_PATH = path.join("config");
  8. export const configFilePath1 = path.join(APP_PATH, "config.yml");
  9. export const configFilePath2 = path.join(APP_PATH, "config.yaml");