aboutsummaryrefslogtreecommitdiff
path: root/installer/run_unzip.cmd
blob: b3175d7676b165fa977a30264010b88c32cb4b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
@echo off

if "x%1" equ "x" goto :EOF

where unzip 2>NUL
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"
)