mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-28 12:27:54 +08:00
Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542)
This commit is contained in:
@@ -462,6 +462,16 @@ function Get-CabalVersion {
|
||||
return "Cabal $cabalVersion"
|
||||
}
|
||||
|
||||
function Get-SwitchAudioOsxVersion {
|
||||
$switchAudioVersion = Get-BrewPackageVersion -CommandName "SwitchAudioSource"
|
||||
return "Switchaudio-osx $switchAudioVersion"
|
||||
}
|
||||
|
||||
function Get-SoxVersion {
|
||||
$soxVersion = Get-BrewPackageVersion -CommandName "sox"
|
||||
return "Sox $soxVersion"
|
||||
}
|
||||
|
||||
function Get-StackVersion {
|
||||
$stackVersion = Run-Command "stack --version" | Take-Part -Part 1 | ForEach-Object {$_.replace(",","")}
|
||||
return "Stack $stackVersion"
|
||||
|
||||
Reference in New Issue
Block a user