diff options
| author | OpportunityLiu <[email protected]> | 2019-06-06 18:19:53 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-06 18:19:53 +0800 |
| commit | 9aa7e776e2bd429962f78632e043bba2c728c46c (patch) | |
| tree | c751889ff6827816210c3ff98dfc72afdb7977d3 /scripts | |
| parent | 3983a4c766b127cc50c36bb36ad7a779e3ce9432 (diff) | |
fix
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 |
