mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +01:00
Simply arch matching
This commit is contained in:
parent
481fd94ac6
commit
ba42280fba
@ -80,12 +80,10 @@ public abstract class HostDependentDownloadableContribution extends Downloadable
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (osName.contains("FreeBSD")) {
|
if (osName.contains("FreeBSD")) {
|
||||||
if (osArch.contains("amd64")) {
|
if (osArch.contains("arm")) {
|
||||||
return host.matches("x86_64-freebsd[0-9]*");
|
|
||||||
} else if (osArch.contains("arm")) {
|
|
||||||
return host.matches("arm.*-freebsd[0-9]*");
|
return host.matches("arm.*-freebsd[0-9]*");
|
||||||
} else {
|
} else {
|
||||||
return host.matches("i386-freebsd[0-9]*");
|
return host.matches(osArch + "-freebsd[0-9]*");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user