Preinstalling the cert doesn't work here

This commit is contained in:
James Stringer 2021-11-14 18:30:07 +01:00 committed by GitHub
parent da44dd6bf4
commit 5708a86445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ if (!(Test-Path C:\ProgramData\Easy-GPU-P\second.txt)) {
#if(((Get-ChildItem -Path Cert:\CurrentUser\TrustedPublisher).DnsNameList.Unicode -like "Parsec Cloud, Inc.")) {
if (!(Get-WmiObject Win32_VideoController | Where-Object name -like "Parsec Virtual Display Adapter")) {
cmd /c C:\ProgramFiles\Easy-GPU-P\cert.bat
#cmd /c C:\ProgramFiles\Easy-GPU-P\cert.bat
Get-PnpDevice | Where-Object {$_.friendlyname -like "Microsoft Hyper-V Video" -and $_.status -eq "OK"} | Disable-PnpDevice -confirm:$false
Start-Process "C:\Users\$env:USERNAME\Downloads\parsec-vdd.exe" -ArgumentList "/silent"
}