Skip to content

Commit bd9b12a

Browse files
committed
Detect amd64 as x86_64 architecture
1 parent 3f62f66 commit bd9b12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/wpi/first/wpilib/opencv/installer/PlatformDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static String getArch() throws UnsupportedOperatingSystemError {
5454
String archName = System.getProperty("os.arch");
5555
if (archName.matches("^(i386|x86)$")) {
5656
arch = "32";
57-
} else if (archName.equals("x86_64")) {
57+
} else if (archName.matches("$(x86_64|amd64)$")) {
5858
arch = "64";
5959
} else {
6060
throw new UnsupportedOperatingSystemError("Unsupported architecture: " + archName);

0 commit comments

Comments
 (0)