Skip to content

Commit

Permalink
Merge pull request #102 from nvervelle/issue-101-download-opa-for-mac…
Browse files Browse the repository at this point in the history
…-aarch64

Make OPA download work for Mac OS X/aarch64
  • Loading branch information
irodzik authored Oct 20, 2023
2 parents bdf2ca6 + 79922e7 commit 7213976
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static OpaPlatform getPlatform() {
return WINDOWS_AMD64;
}
} else if (osName.contains("Mac")) {
if (osArch.equals("x86_64")) {
if (osArch.equals("x86_64") || osArch.equals("aarch64")) {
return MAC_OS_AMD64;
}
} else if (osName.contains("Linux")) {
Expand Down

0 comments on commit 7213976

Please sign in to comment.