mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix installer
This commit is contained in:
committed by
mattn
parent
663ae02ba1
commit
e9cafd08e6
@@ -3,5 +3,7 @@
|
||||
setlocal
|
||||
curl -L -o perlnavigator-win-x86_64.zip "https://github.com/bscan/PerlNavigator/releases/latest/download/perlnavigator-win-x86_64.zip"
|
||||
call "%~dp0\run_unzip.cmd" perlnavigator-win-x86_64.zip
|
||||
move perlnavigator-win-x86_64\perlnavigator.exe .
|
||||
rd /Q /S perlnavigator-win-x86_64
|
||||
del perlnavigator-win-x86_64.zip
|
||||
|
||||
|
||||
@@ -15,5 +15,8 @@ darwin)
|
||||
;;
|
||||
esac
|
||||
|
||||
url="https://github.com/bscan/PerlNavigator/releases/latest/download/perlnavigator-$os-x86_64.zip"
|
||||
curl -L "$url" | tar xzv
|
||||
curl -L -o perlnavigator-$os-x86_64.zip "https://github.com/bscan/PerlNavigator/releases/latest/download/perlnavigator-$os-x86_64.zip"
|
||||
unzip perlnavigator-$os-x86_64.zip
|
||||
mv perlnavigator-os-x86_64/perlnavigator .
|
||||
rm -rf perlnavigator-os-x86_64 perlnavigator-os-x86_64.zip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user