Trying Windows fix, removing $() on env:TEMP

This commit is contained in:
David Murphy 2024-06-04 16:08:17 -06:00 committed by Daniel Wozniak
parent 00c45646d3
commit c7e18526f6

View file

@ -122,7 +122,7 @@ if ( $install_build_tools ) {
Start-Process -FilePath "certutil" ` Start-Process -FilePath "certutil" `
-ArgumentList "-addstore", ` -ArgumentList "-addstore", `
"Root", ` "Root", `
"$($env:TEMP)\build_tools\certificates\manifestCounterSignRootCertificate.cer" ` "$env:TEMP\build_tools\certificates\manifestCounterSignRootCertificate.cer" `
-Wait -WindowStyle Hidden -Wait -WindowStyle Hidden
if ( Test-Path -Path Cert:\LocalMachine\Root\3b1efd3a66ea28b16697394703a72ca340a05bd5 ) { if ( Test-Path -Path Cert:\LocalMachine\Root\3b1efd3a66ea28b16697394703a72ca340a05bd5 ) {
Write-Result "Success" -ForegroundColor Green Write-Result "Success" -ForegroundColor Green
@ -138,7 +138,7 @@ if ( $install_build_tools ) {
Start-Process -FilePath "certutil" ` Start-Process -FilePath "certutil" `
-ArgumentList "-addstore", ` -ArgumentList "-addstore", `
"Root", ` "Root", `
"$($env:TEMP)\build_tools\certificates\manifestRootCertificate.cer" ` "$env:TEMP\build_tools\certificates\manifestRootCertificate.cer" `
-Wait -WindowStyle Hidden -Wait -WindowStyle Hidden
if ( Test-Path -Path Cert:\LocalMachine\Root\8f43288ad272f3103b6fb1428485ea3014c0bcfe ) { if ( Test-Path -Path Cert:\LocalMachine\Root\8f43288ad272f3103b6fb1428485ea3014c0bcfe ) {
Write-Result "Success" -ForegroundColor Green Write-Result "Success" -ForegroundColor Green