Added in-code flags support for pterodactyl

This commit is contained in:
DJj123dj
2024-09-11 21:08:05 +02:00
parent 8eae88b1c6
commit 70048fa399
2 changed files with 13 additions and 4 deletions
+7
View File
@@ -3,6 +3,13 @@ const fs = require("fs")
const ts = require("typescript")
const nodepath = require('path')
/////////////// STARTUP FLAGS ///////////////
const flags = [
//add startup flags here (e.g. "--no-compile")
]
process.argv.push(...flags)
/////////////// STARTUP FLAGS ///////////////
if (!process.argv.includes("--no-compile")){
//REMOVE EXISTING BUILDS
console.log("OT: Removing Prebuilds...")