We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f62f66 commit bd9b12aCopy full SHA for bd9b12a
src/main/java/edu/wpi/first/wpilib/opencv/installer/PlatformDetector.java
@@ -54,7 +54,7 @@ public static String getArch() throws UnsupportedOperatingSystemError {
54
String archName = System.getProperty("os.arch");
55
if (archName.matches("^(i386|x86)$")) {
56
arch = "32";
57
- } else if (archName.equals("x86_64")) {
+ } else if (archName.matches("$(x86_64|amd64)$")) {
58
arch = "64";
59
} else {
60
throw new UnsupportedOperatingSystemError("Unsupported architecture: " + archName);
0 commit comments