fix(windows): preserve parent installer's ENVs by reverting in-process call operator to new-process powershell

This commit is contained in:
AJ ONeal
2023-11-11 23:07:28 -07:00
parent 2046371f62
commit fe363814a1
+1 -1
View File
@@ -168,6 +168,6 @@ $UrlParams = "formats=zip,exe,tar,git&libc=msvc"
$PkgInstallPwsh = "$HOME\.local\tmp\$exename.install.ps1"
Invoke-DownloadUrl -Force -URL $PKG_URL -Params $UrlParams -Path $PkgInstallPwsh
& "$HOME\.local\tmp\${exename}.install.ps1"
powershell $HOME\.local\tmp\${exename}.install.ps1
Pop-Location