[Splash > QuickStart] Fix new updater code sometimes being used when new updater is undefined
This commit is contained in:
parent
e4bd46d1e8
commit
5d7471462c
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ function initSplash(startMinimized = false) {
|
||||||
if (process.env.OPENASAR_QUICKSTART || oaConfig.quickstart) setTimeout(() => {
|
if (process.env.OPENASAR_QUICKSTART || oaConfig.quickstart) setTimeout(() => {
|
||||||
destroySplash();
|
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 NodeModule = require('module');
|
||||||
|
|
||||||
const installDir = paths.getInstallPath();
|
const installDir = paths.getInstallPath();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue