[chore] bundle the usbmmidd_v2 virtual display driver with Windows packages

This commit is contained in:
dijunkun
2026-09-21 01:10:31 +08:00
parent 6387f2e555
commit b34755c5ee
17 changed files with 185 additions and 2 deletions
+7
View File
@@ -698,6 +698,13 @@ jobs:
Copy-Item (Join-Path $buildDir "*.dll") $portableDir -Force
# Bundled Amyuni usbmmidd_v2 virtual display driver (headless hosts)
$driverDir = Join-Path $buildDir "usbmmidd_v2"
if (!(Test-Path (Join-Path $driverDir "deviceinstaller64.exe"))) {
throw "Missing bundled usbmmidd_v2 driver package: $driverDir"
}
Copy-Item $driverDir (Join-Path $portableDir "usbmmidd_v2") -Recurse -Force
foreach ($file in $portableFiles) {
$packagedFile = Join-Path $portableDir $file[1]
if (!(Test-Path $packagedFile)) {