Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 8bf3c21

Browse files
committed
Add mac plattform detection from rustup.rs#855
1 parent 894d07a commit 8bf3c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_includes/rustup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function detect_platform() {
1515
if (navigator.platform == "Linux aarch64") {os = "unix";}
1616
if (navigator.platform == "Linux armv6l") {os = "unix";}
1717
if (navigator.platform == "Linux armv7l") {os = "unix";}
18+
if (navigator.platform == "Mac") {os = "unix";}
1819
if (navigator.platform == "Win32") {os = "win";}
1920
if (navigator.platform == "FreeBSD x86_64") {os = "unix";}
2021
if (navigator.platform == "FreeBSD amd64") {os = "unix";}

0 commit comments

Comments
 (0)