ci(windows): update devcon (#2296)
This commit is contained in:
parent
89e8b9628c
commit
13aea3cbd8
1 changed files with 17 additions and 4 deletions
21
.github/workflows/CI.yml
vendored
21
.github/workflows/CI.yml
vendored
|
|
@ -910,16 +910,29 @@ jobs:
|
||||||
# create the virtual display
|
# create the virtual display
|
||||||
./deviceinstaller64 enableidd 1
|
./deviceinstaller64 enableidd 1
|
||||||
|
|
||||||
|
# move up a directory
|
||||||
|
Set-Location -Path ../..
|
||||||
|
|
||||||
# install devcon
|
# install devcon
|
||||||
choco install devcon.portable
|
DownloadAndExtract `
|
||||||
|
-Uri "https://github.com/Drawbackz/DevCon-Installer/releases/download/1.4-rc/Devcon.Installer.zip" `
|
||||||
|
-OutFile "Devcon.Installer.zip"
|
||||||
|
Set-Location -Path Devcon.Installer
|
||||||
|
# hash needs to match OS version
|
||||||
|
# https://github.com/Drawbackz/DevCon-Installer/blob/master/devcon_sources.json
|
||||||
|
Start-Process -FilePath "./Devcon Installer.exe" -Wait -ArgumentList `
|
||||||
|
'install', `
|
||||||
|
'-hash', '54004C83EE34F6A55380528A8B29F4C400E61FBB947A19E0AB9E5A193D7D961E', `
|
||||||
|
'-addpath', `
|
||||||
|
'-update', `
|
||||||
|
'-dir', 'C:\Windows\System32'
|
||||||
|
|
||||||
# disable Hyper-V Video
|
# disable Hyper-V Video
|
||||||
# https://stackoverflow.com/a/59490940
|
# https://stackoverflow.com/a/59490940
|
||||||
C:\ProgramData\chocolatey\lib\devcon.portable\devcon64.exe `
|
C:\Windows\System32\devcon.exe disable "VMBUS\{da0a7802-e377-4aac-8e77-0558eb1073f8}"
|
||||||
disable "VMBUS\{da0a7802-e377-4aac-8e77-0558eb1073f8}"
|
|
||||||
|
|
||||||
# move up a directory
|
# move up a directory
|
||||||
Set-Location -Path ../..
|
Set-Location -Path ..
|
||||||
|
|
||||||
# multi monitor tool
|
# multi monitor tool
|
||||||
DownloadAndExtract `
|
DownloadAndExtract `
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue