diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index ea496f91a..1b852c4c8 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -5,7 +5,7 @@ $ver='v2.1.3' Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$ver/xmake-$ver.exe" -OutFile "$pid-xmake-installer.exe" -$pid-xmake-installer.exe /S /D=C:\xmake +Start-Process -FilePath "$pid-xmake-installer.exe" -ArgumentList '/S /D=C:\xmake' -Wait Remove-Item "$pid-xmake-installer.exe" $env:Path+=";C:\xmake" [Environment]::SetEnvironmentVariable("Path",$env:Path,[System.EnvironmentVariableTarget]::User) |
