1
0
mirror of synced 2026-05-22 18:53:15 +00:00

feat: bundle arm64 node binary for Apple Silicon (#1255)

This commit is contained in:
Yury Semikhatsky
2023-03-29 17:35:33 -07:00
committed by GitHub
parent 1783b117e6
commit c237fae71e
2 changed files with 6 additions and 2 deletions
@@ -194,7 +194,11 @@ public class DriverJar extends Driver {
}
}
if (name.contains("mac os x")) {
return "mac";
if (arch.equals("aarch64")) {
return "mac-arm64";
} else {
return "mac";
}
}
throw new RuntimeException("Unexpected os.name value: " + name);
}