mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Keep update available flag set until restart
This commit is contained in:
@@ -34,7 +34,6 @@ class AutoUpdater extends EventEmitter {
|
||||
return this.emitError(error)
|
||||
}
|
||||
if (update == null) {
|
||||
this.updateAvailable = false
|
||||
return this.emit('update-not-available')
|
||||
}
|
||||
this.updateAvailable = true
|
||||
|
||||
Reference in New Issue
Block a user