diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 21:02:02 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 21:02:02 +0900 |
commit | 3f2113c05c219460616a7cb2139d372693c08e09 (patch) | |
tree | 599bddbde4fd62bb51d5875cd39d4cfce0371b7e /installer | |
parent | 9fd821cd8288d1f70cd064ce4a6c551dcc842125 (diff) | |
download | vim-lsp-settings-3f2113c05c219460616a7cb2139d372693c08e09.tar.gz vim-lsp-settings-3f2113c05c219460616a7cb2139d372693c08e09.tar.bz2 vim-lsp-settings-3f2113c05c219460616a7cb2139d372693c08e09.zip |
Fix run_unzip.cmd
Diffstat (limited to 'installer')
-rw-r--r-- | installer/run_unzip.cmd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/installer/run_unzip.cmd b/installer/run_unzip.cmd index 1815a90..b3175d7 100644 --- a/installer/run_unzip.cmd +++ b/installer/run_unzip.cmd @@ -3,7 +3,9 @@ if "x%1" equ "x" goto :EOF where unzip 2>NUL -if %ERRORLEVEL% neq 0 ( +if %ERRORLEVEL% equ 0 ( + unzip "%1" +) else ( curl -L -o %~dp0\unzip.exe https://github.com/mattn/vim-lsp-settings/releases/download/v0.0.1/unzip.exe + %~dp0\unzip "%1" ) -%~dp0\unzip "%1" |