Server/project/src/ide/BleedingEdgeEntry.ts

20 lines
565 B
TypeScript
Raw Normal View History

2023-03-03 15:23:46 +00:00
import "reflect-metadata";
import "source-map-support/register";
import { Program } from "@spt/Program";
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;
globalThis.G_WATERMARK_ENABLED = true;
2023-03-03 15:23:46 +00:00
globalThis.G_SPTVERSION = buildInfo.sptVersion;
globalThis.G_COMMIT = buildInfo.commit;
globalThis.G_BUILDTIME = buildInfo.buildTime;
2023-03-03 15:23:46 +00:00
const program = new Program();
program.start();