Fix for mac which identifies as x86_64 instead of amd64 like every other platform.
This commit is contained in:
@@ -114,9 +114,9 @@ public final class Main {
|
||||
}
|
||||
|
||||
private static String getArchString(String arch) {
|
||||
if (arch.equals("amd64")) {
|
||||
if (arch.equals("amd64") || arch.equals("x86_64")) {
|
||||
return "x86_64";
|
||||
} else if (arch.equals("aarch64")) {
|
||||
} else if (arch.equals("aarch64") || arch.equals("arm64")) {
|
||||
return "arm64";
|
||||
} else {
|
||||
throw new UnsupportedOperationException("Unsupported architecture: " + arch);
|
||||
|
||||
Reference in New Issue
Block a user