diff options
| author | TitanSnow <[email protected]> | 2017-04-21 14:12:59 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-04-21 14:12:59 +0800 |
| commit | c1338a3ae83159bdf54d8cfe6d59ce2f4ac0dec3 (patch) | |
| tree | 9c1ed6a68f6c79fecc43e7e959c8ec0dc1401fa3 /scripts | |
| parent | 84bbb39981a99fafbb758f82c8e74667502b041d (diff) | |
use the order "GetTempPath" uses
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 36fb966af..8f2118bdd 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -2,7 +2,7 @@ # usage: (in powershell) # Invoke-Expression (Invoke-Webrequest <my location> -UseBasicParsing).Content -$outfile=($env:TEMP,$env:TMP,'.' -ne $null)[0]+"\$pid-xmake-installer.exe" +$outfile=($env:TMP,$env:TEMP,'.' -ne $null)[0]+"\$pid-xmake-installer.exe" $ver='v2.1.3' Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$ver/xmake-$ver.exe" -OutFile "$outfile" -ErrorAction Stop Start-Process -FilePath "$outfile" -ArgumentList '/S /D=C:\xmake' -Wait -ErrorAction Stop |
