1
0
mirror of synced 2026-08-06 07:26:55 +00:00

Add Linux/arm64 support (#883)

This commit is contained in:
Michael S. Fischer
2022-04-06 18:42:39 -07:00
committed by GitHub
parent 447578c582
commit 7eddd2d2b2
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";