mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +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 (osArch.contains("amd64")) {
|
||||
return host.matches("x86_64-freebsd[0-9]*");
|
||||
} else if (osArch.contains("arm")) {
|
||||
if (osArch.contains("arm")) {
|
||||
return host.matches("arm.*-freebsd[0-9]*");
|
||||
} else {
|
||||
return host.matches("i386-freebsd[0-9]*");
|
||||
return host.matches(osArch + "-freebsd[0-9]*");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user