Skip to content

Commit 403a27a

Browse files
committed
Merge pull request #399 from brson/freebsd
Update www platform detection for FreeBSD. Fixes #380
2 parents 54a3ca7 + e5484b0 commit 403a27a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

www/rustup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function detect_platform() {
1717
if (navigator.platform == "Linux armv7l") {os = "unix";}
1818
if (navigator.platform == "Win32") {os = "win";}
1919
if (navigator.platform == "FreeBSD x86_64") {os = "unix";}
20+
if (navigator.platform == "FreeBSD amd64") {os = "unix";}
2021

2122
if (navigator.platform == "Linux armv7l"
2223
&& navigator.appVersion.indexOf("Android") != -1 ) {

0 commit comments

Comments
 (0)