2023-03-03 15:23:46 +00:00
|
|
|
import "reflect-metadata";
|
2023-10-15 07:31:16 +00:00
|
|
|
import "source-map-support/register";
|
2023-10-19 17:21:17 +00:00
|
|
|
|
2024-05-21 17:59:04 +00:00
|
|
|
import { Program } from "@spt/Program";
|
2024-04-18 07:54:16 +00:00
|
|
|
import * as buildInfo from "./build.json";
|
2023-03-03 15:23:46 +00:00
|
|
|
|
|
|
|
globalThis.G_DEBUG_CONFIGURATION = true;
|
|
|
|
globalThis.G_RELEASE_CONFIGURATION = true;
|
|
|
|
globalThis.G_MODS_ENABLED = false;
|
|
|
|
globalThis.G_MODS_TRANSPILE_TS = true;
|
|
|
|
globalThis.G_LOG_REQUESTS = true;
|
2024-03-11 08:45:05 +00:00
|
|
|
globalThis.G_WATERMARK_ENABLED = true;
|
2023-03-03 15:23:46 +00:00
|
|
|
|
2024-05-21 17:59:04 +00:00
|
|
|
globalThis.G_SPTVERSION = buildInfo.sptVersion;
|
2024-04-18 07:54:16 +00:00
|
|
|
globalThis.G_COMMIT = buildInfo.commit;
|
|
|
|
globalThis.G_BUILDTIME = buildInfo.buildTime;
|
|
|
|
|
2023-03-03 15:23:46 +00:00
|
|
|
const program = new Program();
|
|
|
|
program.start();
|