summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-04-20 10:49:29 +0800
committerTitanSnow <[email protected]>2017-04-20 10:49:29 +0800
commitd3f5159dfff47f11de5ada31bf6891afad5e0db0 (patch)
treeb047905ec1c9486379f3ed20477ad013a6127312 /scripts
parente9dde75d0f1159fda52b05f10646eae2cbdfc589 (diff)
simpler usage
Diffstat (limited to 'scripts')
-rw-r--r--scripts/get.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1
index 1b852c4c8..9ffa15dd2 100644
--- a/scripts/get.ps1
+++ b/scripts/get.ps1
@@ -1,7 +1,6 @@
# xmake getter
# usage: (in powershell)
-# Invoke-Webrequest <my location> -OutFile get.ps1
-# . .\get.ps1
+# Invoke-Expression (Invoke-Webrequest <my location> -UseBasicParsing).Content
$ver='v2.1.3'
Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$ver/xmake-$ver.exe" -OutFile "$pid-xmake-installer.exe"