[macOS] Add Parallels Desktop extension (#6314)

* Add Parallels Desktop extension

* fix typo

* remove new line
This commit is contained in:
Aleksandr Chebotov
2022-09-28 19:06:08 +02:00
committed by GitHub
parent b0885e18a1
commit 3f0a28fe18
6 changed files with 66 additions and 9 deletions

View File

@@ -575,6 +575,20 @@ function Build-PackageManagementEnvironmentTable {
}
}
function Build-MiscellaneousEnvironmentTable {
return @(
@{
"Name" = "PARALLELS_DMG_URL"
"Value" = $env:PARALLELS_DMG_URL
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}
function Get-GraalVMVersion {
$version = & "$env:GRAALVM_11_ROOT\java" --version | Select-String -Pattern "GraalVM" | Take-Part -Part 5,6
return $version