From 3f2113c05c219460616a7cb2139d372693c08e09 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sat, 28 Dec 2019 21:02:02 +0900 Subject: Fix run_unzip.cmd --- installer/run_unzip.cmd | 6 ++++-- 1 file 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" -- cgit v1.2.3-54-g00ecf