[Index] Simplify overlay detection

This commit is contained in:
Ducko 2022-01-19 17:56:39 +00:00
parent 4280c4ca70
commit 4613182d4d
1 changed files with 1 additions and 3 deletions

View File

@ -22,9 +22,7 @@ log('Init', 'Loaded config', oaConfig);
require('./cmdSwitches')();
const appMode = process.argv?.includes('--overlay-host') ? 'overlay-host' : 'app';
if (appMode === 'overlay-host') {
if (process.argv?.includes('--overlay-host')) {
const buildInfo = require('./utils/buildInfo');
if (buildInfo.newUpdater) {