From c64895a6216451a8babf56ca0986c5f325d9d706 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 13 Nov 2014 10:48:26 -0800 Subject: [PATCH] Check for updates when feed URL is set --- src/browser/auto-updater-win32.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/browser/auto-updater-win32.coffee b/src/browser/auto-updater-win32.coffee index bf2640b16..7ad22012d 100644 --- a/src/browser/auto-updater-win32.coffee +++ b/src/browser/auto-updater-win32.coffee @@ -10,6 +10,9 @@ class AutoUpdater _.extend @prototype, EventEmitter.prototype setFeedUrl: (@updateUrl) -> + if @updateUrl + # Schedule an update when the feed URL is set + process.nextTick => @checkForUpdates() quitAndInstall: -> updateDotExe = @getUpdateExePath()