Skip to content

Commit 5738294

Browse files
authored
Merge pull request #1887 from senekor/linux-riscv64-detection
Identify Linux riscv64 as unix
2 parents fcab0a3 + c6b56f9 commit 5738294

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/scripts/tools-install.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function detect_platform() {
2929
if (navigator.platform == "Linux ppc64") {os = "unix";}
3030
if (navigator.platform == "Linux mips") {os = "unix";}
3131
if (navigator.platform == "Linux mips64") {os = "unix";}
32+
if (navigator.platform == "Linux riscv64") {os = "unix";}
3233
if (navigator.platform == "Mac") {os = "unix";}
3334
if (navigator.platform == "Win32") {os = "win";}
3435
if (navigator.platform == "FreeBSD x86_64") {os = "unix";}

0 commit comments

Comments
 (0)