mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
Add FreeBSD Platform Tag -- supports x86_64-freebsd, arm*-freebsd, and i386-freebsd with optional extension for tagging specific release (e.g. freebsd11)
This commit is contained in:
parent
653a05273d
commit
481fd94ac6
@ -79,6 +79,16 @@ 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")) {
|
||||
return host.matches("arm.*-freebsd[0-9]*");
|
||||
} else {
|
||||
return host.matches("i386-freebsd[0-9]*");
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user