[Updater > Module] Redo host downloading with newer events

This commit is contained in:
Ducko 2022-04-22 21:19:53 +01:00
parent 2735539b2c
commit 159aad3a66

View file

@ -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);