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

Revert "Revert "Add Linux/arm64 support (#883)" (#892)" (#905)

This reverts commit 536af6b3d8.
This commit is contained in:
Yury Semikhatsky
2022-04-27 17:24:12 -07:00
committed by GitHub
parent b8d2ccae08
commit b6b54af13c
3 changed files with 9 additions and 3 deletions
@@ -139,11 +139,17 @@ public class DriverJar extends Driver {
private static String platformDir() {
String name = System.getProperty("os.name").toLowerCase();
String arch = System.getProperty("os.arch").toLowerCase();
if (name.contains("windows")) {
return "win32_x64";
}
if (name.contains("linux")) {
return "linux";
if (arch.equals("aarch64")) {
return "linux-arm64";
} else {
return "linux";
}
}
if (name.contains("mac os x")) {
return "mac";