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.
tombogle committed Dec 3, 2024
1 parent 269b695 commit c1e1801
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -68,8 +68,27 @@ jobs:
Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream
timeout-minutes: 5

- name: Install Virtual Audio Cable
run: choco install vb-audio-cable
- name: Download Virtual Audio Cable Driver ZIP
shell: powershell
run: Invoke-WebRequest -Uri "https://download.vb-audio.com/Download_CABLE/VBCABLE_Driver_Pack45.zip" -OutFile "VBCABLE_Driver_Pack45.zip"

- name: Extract the ZIP file
shell: powershell
run: Expand-Archive -Path "VBCABLE_Driver_Pack45.zip" -DestinationPath "VBCABLE_Driver_Pack45"

- name: Run the Installer
shell: powershell
run: Start-Process -FilePath "VBCABLE_Driver_Pack45\VBCABLE_Setup.exe" -ArgumentList "/S" -Wait -NoNewWindow

- name: Cleanup extracted files
shell: powershell
run: |
if (Test-Path "VBCABLE_Driver_Pack45") {
Remove-Item -Recurse -Force "VBCABLE_Driver_Pack45"
}
if (Test-Path "VBCABLE_Driver_Pack45.zip") {
Remove-Item -Force "VBCABLE_Driver_Pack45.zip"
}
- name: Start Windows Audio Service
run: net start audiosrv

0 comments on commit c1e1801

Please sign in to comment.