Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #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 committed Nov 20, 2017
1 parent 2d30d91 commit 72e92ff
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 72e92ff

Please sign in to comment.