mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-27 00:29:08 +08:00
commit
ef0de62d82
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,3 +28,4 @@ Version v*
|
|||||||
.github_changelog_generator
|
.github_changelog_generator
|
||||||
launcher/.vs
|
launcher/.vs
|
||||||
launcher/src/version.rc2
|
launcher/src/version.rc2
|
||||||
|
.vs/*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
## [Unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17)
|
## [1.3.20-unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17)
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
|
- Fix #2740
|
||||||
- Fix find and use latest Git install always using vendored Git.
|
- Fix find and use latest Git install always using vendored Git.
|
||||||
- Fix using Git from vendored Git and other Git for Windows tools from other Git in path.
|
- Fix using Git from vendored Git and other Git for Windows tools from other Git in path.
|
||||||
- Remove setting `term=cygwin` in `init.bat` to fix random `ABCD` characters when using arrow keys in `vim`.
|
- Remove setting `term=cygwin` in `init.bat` to fix random `ABCD` characters when using arrow keys in `vim`.
|
||||||
|
@ -4,8 +4,12 @@ SET CMDER_ROOT=%~dp0
|
|||||||
:: Remove Trailing '\'
|
:: Remove Trailing '\'
|
||||||
@if "%CMDER_ROOT:~-1%" == "\" SET CMDER_ROOT=%CMDER_ROOT:~0,-1%
|
@if "%CMDER_ROOT:~-1%" == "\" SET CMDER_ROOT=%CMDER_ROOT:~0,-1%
|
||||||
|
|
||||||
|
if not exist "%CMDER_ROOT%\config\user_ConEmu.xml" (
|
||||||
|
copy "%CMDER_ROOT%\vendor\ConEmu.xml.default" "%CMDER_ROOT%\config\user_ConEmu.xml"
|
||||||
|
)
|
||||||
|
|
||||||
if exist "%~1" (
|
if exist "%~1" (
|
||||||
start %~dp0/vendor/conemu-maximus5/ConEmu.exe /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%~1"
|
start %~dp0/vendor/conemu-maximus5/ConEmu.exe /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%~1"
|
||||||
) else (
|
) else (
|
||||||
start %~dp0/vendor/conemu-maximus5/ConEmu.exe /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%CMDER_ROOT%\config\ConEmu.xml"
|
start %~dp0/vendor/conemu-maximus5/ConEmu.exe /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%CMDER_ROOT%\config\user_ConEmu.xml"
|
||||||
)
|
)
|
||||||
|
10
vendor/lib/lib_path.cmd
vendored
10
vendor/lib/lib_path.cmd
vendored
@ -121,11 +121,11 @@ exit /b
|
|||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
:toolong
|
:toolong
|
||||||
echo "%OLD_PATH%">tempfileA
|
echo "%OLD_PATH%">"%temp%\cmder_lib_pathA"
|
||||||
echo "%PATH%">tempfileB
|
echo "%PATH%">"%temp%\cmder_lib_pathB"
|
||||||
fc /b tempfileA tempfileB 2>nul 1>nul
|
fc /b "%temp%\cmder_lib_pathA" "%temp%\cmder_lib_pathB" 2>nul 1>nul
|
||||||
if errorlevel 1 ( del tempfileA & del tempfileB & goto :changed )
|
if errorlevel 1 ( del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB" & goto :changed )
|
||||||
del tempfileA & del tempfileB
|
del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB"
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
:changed
|
:changed
|
||||||
|
Loading…
Reference in New Issue
Block a user