Keep update available flag set until restart

This commit is contained in:
Kevin Sawicki 2016-08-08 13:03:02 -07:00
parent 59ffe35781
commit 49908fd818

View file

@ -34,7 +34,6 @@ class AutoUpdater extends EventEmitter {
return this.emitError(error) return this.emitError(error)
} }
if (update == null) { if (update == null) {
this.updateAvailable = false
return this.emit('update-not-available') return this.emit('update-not-available')
} }
this.updateAvailable = true this.updateAvailable = true