Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
auto-updater: only ask once. fixes #317
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Mar 28, 2017
1 parent d91e0f4 commit d041e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auto-updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = ({ log }) => {
autoUpdater.on('update-available', () => log('update available, downloading…'))
autoUpdater.on('update-not-available', () => log('update not available'))
autoUpdater.on('download-progress', p => log('download progress ' + p.percent))
autoUpdater.on('update-downloaded', (ev, notes, version) => {
autoUpdater.once('update-downloaded', (ev, notes, version) => {
log('update downloaded')

dialog.showMessageBox({
Expand Down

0 comments on commit d041e68

Please sign in to comment.