mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
auto-updater: emit both release name and notes
This commit is contained in:
parent
f6b0277438
commit
7e57aa94bc
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ module.exports = function AutoUpdater (rpc) {
|
|||
|
||||
autoUpdater.setFeedURL(`${FEED_URL}/${version}`);
|
||||
|
||||
autoUpdater.once('update-downloaded', () => {
|
||||
rpc.emit('update-available');
|
||||
autoUpdater.once('update-downloaded', (ev, releaseNotes, releaseName) => {
|
||||
rpc.emit('update available', { releaseNotes, releaseName });
|
||||
});
|
||||
|
||||
rpc.once('quit-and-install', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue