Skip to content

Commit 3bc106f

Browse files
author
jantje
committed
#1489 treat mac aarch64 like mac x86_64 during tool install
1 parent 73c3c86 commit 3bc106f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io.sloeber.core/src/io/sloeber/core/api/Json/ArduinpPlatformToolSystem.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public boolean isApplicable() {
7575
}
7676

7777
if (osName.contains("Mac")) {
78-
if (osArch.contains("x86_64")) {
78+
if (osArch.contains("x86_64") || osArch.contains("aarch64")) {
7979
return host.matches("x86_64-apple-darwin.*") || host.matches("i[3456]86-apple-darwin.*");
8080
}
8181
return host.matches("i[3456]86-apple-darwin.*");

0 commit comments

Comments
 (0)