diff --git a/src/splash/index.js b/src/splash/index.js index 4c89d60..efaa60f 100644 --- a/src/splash/index.js +++ b/src/splash/index.js @@ -320,14 +320,10 @@ function initSplash(startMinimized = false) { updateAttempt = 0; newUpdater = (0, _updater.getUpdater)(); - if (newUpdater == null) { - initOldUpdater(); - } + if (newUpdater == null) initOldUpdater(); launchSplashWindow(startMinimized); - log('Splash', 'Quickstart config:', process.env.OPENASAR_QUICKSTART || oaConfig.quickstart, '-', process.env.OPENASAR_QUICKSTART, oaConfig.quickstart); - if (newUpdater != null) { updateUntilCurrent(); } else { @@ -341,13 +337,6 @@ function initSplash(startMinimized = false) { require('../utils/u2LoadModulePath')(); } - /* if (newUpdater != null) { - updateUntilCurrent(); - } else { - moduleUpdater.installPendingUpdates(); - moduleUpdater.setInBackground(); - } */ - launchMainWindow(); setTimeout(() => {