Skip to content

Commit

Permalink
Fix mac arch match
Browse files Browse the repository at this point in the history
  • Loading branch information
arakelian committed Apr 30, 2024
1 parent 783673e commit e2ec113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/arakelian/jq/NativeLib.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ public String getPath() {
return "linux-aarch64/";
}
} else if (Platform.isMac()) {
if ("aarch64".equalsIgnoreCase("x86_64")) {
if ("aarch64".equalsIgnoreCase(osArch)) {
return "darwin-aarch64/";
} else if ("x86_64".equalsIgnoreCase("x86_64")) {
} else if ("x86_64".equalsIgnoreCase(osArch)) {
return "darwin-x86_64/";
}
}
Expand Down

0 comments on commit e2ec113

Please sign in to comment.