Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542)

This commit is contained in:
Mikhail Timofeev
2021-06-08 10:44:31 +03:00
committed by GitHub
parent 2ae7ebddab
commit 4da3c8eef9
6 changed files with 52 additions and 8 deletions

View File

@@ -49,3 +49,14 @@ function Get-PathWithLink {
$link = Get-LinkTarget($inputPath)
return "${inputPath}${link}"
}
function Get-BrewPackageVersion {
param (
[string] $CommandName
)
(Get-LinkTarget (Get-Command $CommandName).Source | Out-String) -match "(?<version>(\d+.){2}\d+)" | Out-Null
$packageVersion = $Matches.Version
return $packageVersion
}