From 007b0f49253d31dce0637dc9ecbd5b8ab7a6b38e Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 23 Mar 2022 19:26:11 +0000 Subject: [PATCH] [Updater > Module] Further minor source cleanup --- src/splash/index.js | 1 - src/updater/moduleUpdater.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/splash/index.js b/src/splash/index.js index 0d6db82..9d7cef7 100644 --- a/src/splash/index.js +++ b/src/splash/index.js @@ -243,7 +243,6 @@ const initModuleUpdater = () => { // "Old" (not v2 / new, win32 only) if (!succeeded) { handleFail(); } else if (updateCount === 0) { - moduleUpdater.setInBackground(); launchMainWindow(); } }); diff --git a/src/updater/moduleUpdater.js b/src/updater/moduleUpdater.js index 034223d..e019d49 100644 --- a/src/updater/moduleUpdater.js +++ b/src/updater/moduleUpdater.js @@ -19,7 +19,6 @@ let settings, basePath, manifestPath, downloadPath, bootstrapPath, hostUpdater, baseUrl, baseQuery, - inBackground, checking, hostAvail, lastUpdate; const resetTracking = () => { @@ -360,8 +359,6 @@ exports.checkForUpdates = () => { } }; -exports.setInBackground = () => inBackground = true; - exports.quitAndInstallUpdates = () => { log('Modules', 'Relaunching');