From 909dd52c959e14f16cd501a767724c35dad4fc37 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 26 Dec 2019 15:40:41 +0900 Subject: Download unzip.exe --- installer/install-kotlin-language-server.cmd | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'installer/install-kotlin-language-server.cmd') diff --git a/installer/install-kotlin-language-server.cmd b/installer/install-kotlin-language-server.cmd index 6e5fae5..11d141c 100644 --- a/installer/install-kotlin-language-server.cmd +++ b/installer/install-kotlin-language-server.cmd @@ -1,22 +1,17 @@ @echo off -where unzip1 2>NUL -if %ERRORLEVEL% neq 0 ( - echo unzip command required - exit /b 1 -) - setlocal cd /d %~dp0 +set installer_dir=%cd% set server_dir=..\servers\kotlin-language-server if exist %server_dir% rd /Q /S "%server_dir%" md "%server_dir%" cd /d "%server_dir%" curl -L -o server.zip "https://github.com/fwcd/kotlin-language-server/releases/download/0.5.2/server.zip" -unzip server.zip +call %installer_dir%\run_unzip server.zip del server.zip echo @echo off ^ -- cgit v1.2.3-54-g00ecf