[Updater > Module] Tweak host failing to use events instead of internal retry
This commit is contained in:
parent
d817954187
commit
a1133cd597
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue