aboutsummaryrefslogtreecommitdiff
path: root/installer/install-texlab.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-texlab.cmd')
-rw-r--r--installer/install-texlab.cmd15
1 files changed, 15 insertions, 0 deletions
diff --git a/installer/install-texlab.cmd b/installer/install-texlab.cmd
new file mode 100644
index 0000000..5d7cece
--- /dev/null
+++ b/installer/install-texlab.cmd
@@ -0,0 +1,15 @@
+@echo off
+
+setlocal
+
+cd /d %~dp0
+
+set installer_dir=%cd%
+set server_dir=..\servers\texlab
+if exist %server_dir% rd /Q /S "%server_dir%"
+md "%server_dir%"
+cd /d "%server_dir%"
+
+curl -L -o texlab-x86_64-windows.zip "https://github.com/latex-lsp/texlab/releases/download/v1.8.0/texlab-x86_64-windows.zip"
+call %installer_dir%\run_unzip texlab-x86_64-windows.zip
+del texlab-x86_64-windows.zip