This commit is contained in:
Dax T. Games 2022-09-04 09:16:39 -04:00
parent 7a9ad78e66
commit 59bbdaddc7
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -28,3 +28,4 @@ Version v*
.github_changelog_generator
launcher/.vs
launcher/src/version.rc2
.vs/*

View File

@ -1,6 +1,6 @@
# 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

View File

@ -121,11 +121,11 @@ exit /b
exit /b
:toolong
echo "%OLD_PATH%">"%temp%\tempfileA"
echo "%PATH%">"%temp%\tempfileB"
fc /b "%temp%\tempfileA" "%temp%\tempfileB" 2>nul 1>nul
if errorlevel 1 ( del "%temp%\tempfileA" & del "%temp%\tempfileB" & goto :changed )
del "%temp%\tempfileA" & del "%temp%\tempfileB"
echo "%OLD_PATH%">"%temp%\cmder_lib_pathA"
echo "%PATH%">"%temp%\cmder_lib_pathB"
fc /b "%temp%\cmder_lib_pathA" "%temp%\cmder_lib_pathB" 2>nul 1>nul
if errorlevel 1 ( del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB" & goto :changed )
del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB"
exit /b
:changed