diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 15:40:41 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 15:40:41 +0900 |
commit | 909dd52c959e14f16cd501a767724c35dad4fc37 (patch) | |
tree | 983bff1583cf58d6b5f6275d76ebc0e8600cfa41 /installer/install-kotlin-language-server.cmd | |
parent | f910ed42cc4dcef83d90b33a0da01090aebbf36f (diff) | |
download | vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.tar.gz vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.tar.bz2 vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.zip |
Download unzip.exe
Diffstat (limited to 'installer/install-kotlin-language-server.cmd')
-rw-r--r-- | installer/install-kotlin-language-server.cmd | 9 |
1 files changed, 2 insertions, 7 deletions
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 ^
|