use busybox for run_gzip if gzip not present

This commit is contained in:
Prabir Shrestha
2021-05-31 10:45:33 -07:00
committed by mattn
parent 1dc005261c
commit 118fb31b8a

View File

@@ -4,6 +4,6 @@ where gzip 2>NUL
if %ERRORLEVEL% equ 0 (
gzip -d %*
) else (
curl -L -o %~dp0\gzip.exe https://github.com/mattn/vim-lsp-settings/releases/download/v0.0.1/gzip.exe
%~dp0\gzip -d %*
curl -L -o %~dp0\busybox.exe https://github.com/mattn/vim-lsp-settings/releases/download/v0.0.1/busybox.exe
%~dp0\busybox gzip -d %*
)