Add x86 and aarch64 arch in platform
@@ -162,9 +162,15 @@ public final class PlatformResolver {
if ("x86_64".equals(arch) || "amd64".equals(arch)) {
return Architecture.AMD64; // x86_64 & amd64 are same
}
+ if ("i386".equals(arch) || "x86".equals(arch)) {
+ return Architecture.X86;
+ }
if (arch.contains("arm")) {
return Architecture.ARM;
}
+ if ("aarch64".equals(arch)) {
+ return Architecture.AARCH64;
+ }
// TODO: use UNRECOGNIZED instead.
return Architecture.ALL;
}
