[Updater > Module] Further minor source cleanup

This commit is contained in:
Ducko 2022-03-23 19:26:11 +00:00
parent 471084c7ec
commit 007b0f4925
2 changed files with 0 additions and 4 deletions

View file

@ -243,7 +243,6 @@ const initModuleUpdater = () => { // "Old" (not v2 / new, win32 only)
if (!succeeded) { if (!succeeded) {
handleFail(); handleFail();
} else if (updateCount === 0) { } else if (updateCount === 0) {
moduleUpdater.setInBackground();
launchMainWindow(); launchMainWindow();
} }
}); });

View file

@ -19,7 +19,6 @@ let settings,
basePath, manifestPath, downloadPath, bootstrapPath, basePath, manifestPath, downloadPath, bootstrapPath,
hostUpdater, hostUpdater,
baseUrl, baseQuery, baseUrl, baseQuery,
inBackground,
checking, hostAvail, lastUpdate; checking, hostAvail, lastUpdate;
const resetTracking = () => { const resetTracking = () => {
@ -360,8 +359,6 @@ exports.checkForUpdates = () => {
} }
}; };
exports.setInBackground = () => inBackground = true;
exports.quitAndInstallUpdates = () => { exports.quitAndInstallUpdates = () => {
log('Modules', 'Relaunching'); log('Modules', 'Relaunching');