mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2024-08-30 18:22:17 +00:00
Unblock Files
This commit is contained in:
parent
9a89cbba97
commit
ad17fa5a7a
@ -7,6 +7,8 @@ while(!(Test-NetConnection Google.com).PingSucceeded){
|
||||
Start-Sleep -Seconds 1
|
||||
}
|
||||
|
||||
Get-ChildItem -Path C:\ProgramData\Easy-GPU-P -Recurse | Unblock-File
|
||||
|
||||
if (Test-Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Parsec)
|
||||
{}
|
||||
else {
|
||||
|
@ -1,9 +1,9 @@
|
||||
if (!(Get-WmiObject Win32_VideoController | Where-Object name -like "Parsec Virtual Display Adapter")) {
|
||||
(New-Object System.Net.WebClient).DownloadFile("https://builds.parsec.app/vdd/parsec-vdd-0.37.0.0.exe", "C:\Users\$env:USERNAME\Downloads\parsec-vdd.exe")
|
||||
#while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Parsec*'}) -eq $NULL) {
|
||||
while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Parsec*'}) -eq $NULL) {
|
||||
certutil -Enterprise -Addstore "TrustedPublisher" C:\ProgramData\Easy-GPU-P\ParsecPublic.cer
|
||||
Start-Sleep -s 5
|
||||
# }
|
||||
}
|
||||
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 "/s"
|
||||
}
|
||||
|
@ -10,10 +10,10 @@
|
||||
$VB.ExportType = [System.Security.Cryptography.X509Certificates.X509ContentType]::Cert;
|
||||
$VB.Cert = (Get-AuthenticodeSignature -filepath $VB.DriverFile).SignerCertificate;
|
||||
[System.IO.File]::WriteAllBytes($VB.CertName, $VB.Cert.Export($VB.ExportType))
|
||||
#while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Vincent Burel*'}) -eq $NULL) {
|
||||
while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Vincent Burel*'}) -eq $NULL) {
|
||||
certutil -Enterprise -Addstore "TrustedPublisher" $VB.CertName
|
||||
Start-Sleep -s 5
|
||||
# }
|
||||
}
|
||||
Start-Process -FilePath "C:\Users\$env:Username\Downloads\VBCable\VBCABLE_Setup_x64.exe" -ArgumentList '-i','-h'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user