[Updater > Module] Redo host downloading with newer events
This commit is contained in:
parent
2735539b2c
commit
159aad3a66
1 changed files with 1 additions and 5 deletions
|
@ -80,13 +80,9 @@ exports.init = (endpoint, { releaseChannel, version }) => {
|
|||
succeeded: true,
|
||||
updateCount: 1
|
||||
});
|
||||
|
||||
events.emit('downloading-module', {
|
||||
name: 'host'
|
||||
});
|
||||
});
|
||||
|
||||
hostUpdater.on('update-progress', progress => events.emit('downloading-module-progress', { name: 'host', progress }));
|
||||
hostUpdater.on('update-progress', progress => events.emit('downloading-module', { name: 'host', progress }));
|
||||
|
||||
hostUpdater.on('update-not-available', hostPassed);
|
||||
|
||||
|
|
Loading…
Reference in a new issue