Files
UltraGrid/.github/scripts/Windows/install_jack.ps1
Martin Pulec fc56d9a1c4 GitHub CI: remove possible previous instalations of cached items
Due to inexact matching, cache might not have been hit but item was
extracted from partially matching key.
2021-06-24 16:42:58 +02:00

16 lines
490 B
PowerShell

#Set-PSDebug -Trace 1
if (Test-Path 'C:\Program Files\JACK2') {
Remove-Item -Recurse 'C:\Program Files\JACK2'
}
choco install -y --no-progress jack
# The lib is moved to the JACK library for 2 reasons:
# 1. it will be cached here
# 2. if it were in a Windows directory, it won't be bundled with UltraGrid
# (also make sure to remove from the Windows directory)
New-Item -Type Directory 'C:\Program Files\JACK2\bin'
Move-Item 'C:\Windows\libjack64.dll' 'C:\Program Files\JACK2\bin'