Keep update available flag set until restart
This commit is contained in:
parent
59ffe35781
commit
49908fd818
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue