[Updater > Module] Tweak host failing to use events instead of internal retry

This commit is contained in:
Ducko 2022-04-06 09:11:53 +01:00
parent d817954187
commit a1133cd597
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ exports.init = (endpoint, { releaseChannel, version }) => {
checking = false;
setTimeout(() => hostUpdater.checkForUpdates(), 1000); // Retry after 1s
events.emit('update-check-finished', { succeeded: false });
});
const platform = process.platform === 'darwin' ? 'osx' : 'linux';