[macOS] Add virtualbox to macOS-12 (#5594)

* Add virtualbox to macOS-12

* Fix Get_OSVersion function as isBigSur didn't work

* Use proper comparison
This commit is contained in:
Mikhail Timofeev
2022-05-24 23:48:57 +04:00
committed by GitHub
parent 12cbf387ca
commit 7a7fafda99
9 changed files with 83 additions and 14 deletions

View File

@@ -141,12 +141,17 @@ if ($os.IsLessThanMonterey) {
if ($os.IsCatalina) {
$utilitiesList += @(
(Get-VirtualBoxVersion),
(Get-VagrantVersion),
(Get-ParallelVersion)
)
}
if (-not $os.IsBigSur) {
$utilitiesList += @(
(Get-VirtualBoxVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($utilitiesList | Sort-Object)
# Tools