Update cmder
This commit is contained in:
parent
c94e859a5d
commit
c238c788d3
@ -17,7 +17,8 @@
|
||||
:: %ccall% "/customOption" "command/program"
|
||||
|
||||
@echo off
|
||||
alias gvim=%cmder_root%\..\GVim\gVimPortable.exe $*
|
||||
set PATH=%cmder_root%\bin\python;%PATH%
|
||||
set HOME=%cmder_root%\..\
|
||||
set HOMEPATH=%cmder_root%\..\
|
||||
set HOME=%cmder_root%\..\Home
|
||||
set HOMEPATH=%cmder_root%\..\Home
|
||||
set USERPROFILE=%cmder_root%\..\Home
|
||||
alias gvim=%cmder_root%\..\GVim\gVimPortable.exe $*
|
@ -4,7 +4,7 @@ setlocal
|
||||
REM
|
||||
REM Cmder
|
||||
REM
|
||||
set cmder_version=v1.3.15
|
||||
set cmder_version=v1.3.16
|
||||
set cmder_url=https://github.com/cmderdev/cmder/releases/download/%cmder_version%/cmder.7z
|
||||
set cmder_zip=Installer\win32_cmder_%cmder_version%.7z
|
||||
set cmder_install_path=Cmder
|
||||
@ -76,20 +76,6 @@ if not exist "%clang_format_file%" powershell -Command "[Net.ServicePointManager
|
||||
echo - Copy Installer\win32_clang_format.exe to %cmder_install_path%\bin\clang-format.exe
|
||||
copy /Y Installer\win32_clang_format.exe %cmder_install_path%\bin\clang-format.exe
|
||||
|
||||
REM
|
||||
REM Python
|
||||
REM
|
||||
set python_version=3.6.5
|
||||
set python_url=https://www.python.org/ftp/python/%python_version%/python-%python_version%-embed-amd64.zip
|
||||
set python_zip=python-%python_version%-embed-amd64.zip
|
||||
set python_zip_dest=Installer\%python_zip%
|
||||
set python_dest=%cmder_root%\bin\python
|
||||
echo - Downloading from %python_url% to %python_zip_dest%
|
||||
if not exist "%python_zip_dest%" powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest %python_url% -OutFile %python_zip_dest%"
|
||||
|
||||
echo - Unzip %python_zip_dest% to %python_dest%
|
||||
if not exist "%python_dest%" Installer\win32_7za.exe x -y -o%python_dest% %python_zip_dest% > NUL
|
||||
|
||||
REM
|
||||
REM ctags, scanmapset (bind capslock to escape via registry), uncap (bind capslock to escape whilst program running shim)
|
||||
REM
|
||||
@ -116,3 +102,5 @@ set rg_path=%cmder_install_path%\bin
|
||||
set rg_zip=Installer\win32_rg_v12.1.1.7z
|
||||
echo - Extracting %rg_zip% to %rg_path%
|
||||
if not exist "%rg_path%\rg.exe" Installer\win32_7za.exe x -y -o%rg_path% %rg_zip% > NUL
|
||||
|
||||
if not exist %cmder_root%\..\Home mkdir %cmder_root%\..\Home
|
||||
|
Loading…
Reference in New Issue
Block a user