Skip to content

Commit

Permalink
www: turn on Android detection for all Rust-supported targets
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Dec 27, 2016
1 parent 87267e3 commit fb32b45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/rustup.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ function detect_platform() {
var os = "unknown";

if (navigator.platform == "Linux x86_64") {os = "unix";}
if (navigator.platform == "Linux i686") {os = "unix";}
if (navigator.platform == "Linux i686") {os = android_or_unix();}
if (navigator.platform == "Linux i686 on x86_64") {os = "unix";}
if (navigator.platform == "Linux aarch64") {os = "unix";}
if (navigator.platform == "Linux armv6l") {os = "unix";}
if (navigator.platform == "Linux aarch64") {os = android_or_unix();}
if (navigator.platform == "Linux armv6l") {os = android_or_unix();}
if (navigator.platform == "Linux armv7l") {os = android_or_unix();}
if (navigator.platform == "Linux ppc64") {os = "unix";}
if (navigator.platform == "Linux mips") {os = "unix";}
Expand Down

0 comments on commit fb32b45

Please sign in to comment.