Skip to content

Commit 7cdd411

Browse files
authored
Merge pull request #1468 from aaronfranke/x64
Add x64 and x86_64 to user agent regex
2 parents fd54e1b + 439d057 commit 7cdd411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/downloads_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def download
4646
@download32portable = Download.latest_for(@platform + "32Portable")
4747
@download64portable = Download.latest_for(@platform + "64Portable")
4848

49-
if request.env["HTTP_USER_AGENT"] =~ /WOW64|Win64/
49+
if request.env["HTTP_USER_AGENT"] =~ /WOW64|Win64|x64|x86_64/
5050
@download = @download64
5151
@bitness = "64-bit"
5252
else

0 commit comments

Comments
 (0)