[Updater > Module] Redo host downloading with newer events

pull/66/head
Oj 2 years ago
parent 2735539b2c
commit 159aad3a66

@ -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…
Cancel
Save