More cleanups for actual distributable builds set to proper environment
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const fs = require('node:fs');
|
||||
let cfg = ""
|
||||
|
||||
if (process.argv[2]) {
|
||||
cfg = process.argv[2];
|
||||
}
|
||||
|
||||
// Output should be in the build-electron folder
|
||||
fs.writeFileSync(__dirname + "/../build-electron/config.js", `global.SQ_ENV_CFG = "${cfg}";`)
|
||||
Reference in New Issue
Block a user