diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-27 01:01:58 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-27 01:01:58 +0900 |
commit | 607081bbaab228f41ebfe1f7aa0e993ab134c205 (patch) | |
tree | f235bce78bba017d83cf8390ea57e60be476c2da /install.ps1 | |
parent | e73383fbbba172c1375c4b8d09328f30516d5333 (diff) |
[vim] Download latest binary to meet version requirement
Diffstat (limited to 'install.ps1')
-rw-r--r-- | install.ps1 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/install.ps1 b/install.ps1 index f29ed6b2..773421fe 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,11 +1,5 @@ $version="0.23.1" -if ([Environment]::Is64BitProcess) { - $binary_arch="amd64" -} else { - $binary_arch="386" -} - $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition function check_binary () { @@ -68,6 +62,6 @@ function download { check_binary >$null } -download "fzf-$version-windows_$binary_arch.zip" +download "fzf-$version-windows_amd64.zip" Write-Host 'For more information, see: https://github.com/junegunn/fzf' |