PowerToys/tools/build/video_conference_make_cab.ps1
Andrey Nekrasov 4e23832d52
Add new VideoConference module for muting mic/cam (#11798)
* add new VideoConference module for muting mic/cam

Co-authored-by: PrzemyslawTusinski <61138537+PrzemyslawTusinski@users.noreply.github.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
2021-06-29 13:06:12 +03:00

13 lines
484 B
PowerShell

param (
[string]$arch = "x64",
[string]$configuration = "Release"
)
$PTRoot = "${PSScriptRoot}\..\.."
cd "$PTRoot\$arch\$configuration\modules\VideoConference\VideoConferenceVirtualDriver"
$ddf = Resolve-Path "$PTRoot\src\modules\videoconference\make_cab.ddf"
makecab.exe /v0 /F $ddf | Out-Null
Move-Item -Path driver\driver.cab -Destination VideoConference.cab -Force
Remove-Item -Force -Recurse -Path driver
Remove-Item -Force -Path setup.inf
Remove-Item -Force -Path setup.rpt