Skip to content

Commit

Permalink
default to 64-bit downloads
Browse files Browse the repository at this point in the history
- so platform strings don't contain the architecture
  • Loading branch information
MartinNowak committed Aug 7, 2016
1 parent b01d294 commit cf8ce58
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/platform-downloads.js
Expand Up @@ -7,10 +7,8 @@
var latest = script.dataset.latest,
platform = navigator.platform.toLowerCase();

var model = null;
if (platform.indexOf('x86_64') != -1 || platform.indexOf('amd64') != -1)
model = 64;
else if (platform.match('i.86'))
var model = 64;
if (platform.match('i.86'))
model = 32;

var files;
Expand Down

0 comments on commit cf8ce58

Please sign in to comment.