Skip to content

Commit

Permalink
Merge pull request brave#11153 from brave/windows-release
Browse files Browse the repository at this point in the history
Add conditional to download and apply RELEASES file on Windows
  • Loading branch information
bsclifton authored Nov 20, 2017
2 parents 5a59337 + 3d955a6 commit 080820a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ var downloadHandler = (err, metadata) => {
if (process.platform === 'win32') {
// check versions to see if an update is required
if (metadata) {
if (metadata.braveURL) {
autoUpdater.setFeedURL(metadata.braveURL)
}
autoUpdater.checkForUpdates()
} else {
autoUpdater.emit(messages.UPDATE_NOT_AVAILABLE)
Expand Down

0 comments on commit 080820a

Please sign in to comment.