Merge pull request #1170 from nnelgxorz/add-linux-arm64-support-to-npm-package

Add Linux arm64 support
master
Jesper Håkansson 3 years ago committed by GitHub
commit 10f30be713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      npm/binary.js

@ -13,6 +13,9 @@ const getPlatform = () => {
if (type === "Linux" && arch === "x64") {
return "x86_64-unknown-linux-musl";
}
if (type === "Linux" && arch === "arm64") {
return "aarch64-unknown-linux-musl";
}
if (type === "Darwin" && (arch === "x64" || arch === "arm64")) {
return "x86_64-apple-darwin";
}

Loading…
Cancel
Save