Rework MacOS documentation (#2336)

* rework macOS documentation

* resolved comments

* fixed function name

* Updated SoftwareReport.Common.psm1 and SoftwareReport.Generator.ps1

* fixed name

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
Nikita Bykov
2020-12-28 11:15:54 +03:00
committed by GitHub
parent 310f692ea5
commit dd12c1ae21
3 changed files with 399 additions and 154 deletions

View File

@@ -76,6 +76,11 @@ function Get-XcodePlatformOrder {
}
}
function Get-XcodeCommandLineToolsVersion {
$xcodeCommandLineToolsVersion = Run-Command "pkgutil --pkg-info com.apple.pkg.CLTools_Executables" | Select -Index 1 | Take-Part -Part 1
return "Xcode Command Line Tools $xcodeCommandLineToolsVersion"
}
function Build-XcodeTable {
param (
[Parameter(Mandatory)]