From 49908fd81879b3a86e630ecebe66a4f7113ffa83 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 8 Aug 2016 13:03:02 -0700 Subject: [PATCH] Keep update available flag set until restart --- lib/browser/api/auto-updater/auto-updater-win.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/browser/api/auto-updater/auto-updater-win.js b/lib/browser/api/auto-updater/auto-updater-win.js index a010f76dd74..aeffc2cf8ba 100644 --- a/lib/browser/api/auto-updater/auto-updater-win.js +++ b/lib/browser/api/auto-updater/auto-updater-win.js @@ -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