summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-04-19 13:20:41 +0800
committerTitanSnow <[email protected]>2017-04-19 13:20:41 +0800
commite9dde75d0f1159fda52b05f10646eae2cbdfc589 (patch)
tree88fa44def585d6ab3d394f0cb810ca0cc53d442b /scripts
parent92ab2a45cb137ea0d904d9d4ba204714f4296b90 (diff)
fix get.ps1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/get.ps12
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)