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 #7651 from brave/linux-stats
Browse files Browse the repository at this point in the history
Re-enable ping to stats server for linux
  • Loading branch information
bbondy authored Mar 12, 2017
2 parents 092ee0a + d22c447 commit 870fd32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ var debug = function (contents) {
var platforms = {
'darwin': 'osx',
'win32x64': 'winx64',
'win32ia32': 'winia32'
'win32ia32': 'winia32',
'linux': 'linux'
}

// We are storing this as a package variable because a number of functions need access
Expand All @@ -52,7 +53,7 @@ exports.updateUrl = function (updates, platform, arch) {
}
platformBaseUrl = `${updates.baseUrl}/${Channel.channel()}/${version}/${platforms[platform]}`
debug(`platformBaseUrl = ${platformBaseUrl}`)
if (platform === 'darwin') {
if (platform === 'darwin' || platform === 'linux') {
return platformBaseUrl
} else {
if (platform.match(/^win32/)) {
Expand Down

0 comments on commit 870fd32

Please sign in to comment.