Skip to content

Commit

Permalink
Since vb-audio-cable doesn't have a choco installer, try downloading …
Browse files Browse the repository at this point in the history
…and running installer directly.
  • Loading branch information
tombogle committed Dec 3, 2024
1 parent 269b695 commit 2a5390f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,20 @@ jobs:
timeout-minutes: 5

- name: Install Virtual Audio Cable
run: choco install vb-audio-cable
shell: powershell
run: |
# Download the ZIP file
curl -o "VBCABLE_Driver_Pack45.zip" "https://download.vb-audio.com/Download_CABLE/VBCABLE_Driver_Pack45.zip"
# Extract the ZIP file
Expand-Archive -Path "VBCABLE_Driver_Pack45.zip" -DestinationPath "./VBCABLE_Driver"
# Run the installer silently (adjust the file name if necessary)
Start-Process -FilePath "./VBCABLE_Driver/VBCABLE_Setup.exe" -ArgumentList "/silent" -NoNewWindow -Wait
# Clean up
Remove-Item -Recurse -Force "VBCABLE_Driver_Pack45.zip"
Remove-Item -Recurse -Force "VBCABLE_Driver_Pack45"
- name: Start Windows Audio Service
run: net start audiosrv
Expand Down

0 comments on commit 2a5390f

Please sign in to comment.