diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 5dc333c6c..bd706b4d4 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -4,7 +4,8 @@ param ( [string]$branch = "master", - [string]$version = "v2.2.6" + [string]$version = "v2.2.6", + [string]$installdir = $(Join-Path $env:HOME 'xmake') ) function myExit($code) { @@ -61,7 +62,6 @@ function xmakeInstall { throw } Write-Host 'Start installation... Hope your antivirus doesn''t trouble' - $installdir = Join-Path $env:HOME 'xmake' Write-Host "Install to $installdir" try { Start-Process -FilePath $outfile -ArgumentList "/S /D=$installdir" -Wait |
