mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-16 04:29:16 +08:00
13 lines
484 B
PowerShell
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
|