mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
fix(windows): preserve parent installer's ENVs by reverting in-process call operator to new-process powershell
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user