[Splash > QuickStart] Fix new updater code sometimes being used when new updater is undefined

This commit is contained in:
Ducko 2021-12-10 21:32:19 +00:00
parent e4bd46d1e8
commit 5d7471462c
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function initSplash(startMinimized = false) {
if (process.env.OPENASAR_QUICKSTART || oaConfig.quickstart) setTimeout(() => {
destroySplash();
if (newUpdater !== null) { // Manually load desktop_core module path for faster requiring
if (newUpdater != null) { // Manually load desktop_core module path for faster requiring
const NodeModule = require('module');
const installDir = paths.getInstallPath();