[Index] Tweak source (don't check process.argv as unneeded)
This commit is contained in:
parent
dddd625954
commit
23e72de71b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ log('Init', 'Loaded config', oaConfig);
|
||||||
|
|
||||||
require('./cmdSwitches')();
|
require('./cmdSwitches')();
|
||||||
|
|
||||||
if (process.argv?.includes('--overlay-host')) {
|
if (process.argv.includes('--overlay-host')) {
|
||||||
const buildInfo = require('./utils/buildInfo');
|
const buildInfo = require('./utils/buildInfo');
|
||||||
|
|
||||||
if (buildInfo.newUpdater) {
|
if (buildInfo.newUpdater) {
|
||||||
|
|
Loading…
Reference in a new issue