mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-01 01:42:17 +08:00 
			
		
		
		
	fixed
This commit is contained in:
		
							
								
								
									
										5
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -95,6 +95,8 @@ if defined CMDER_USER_CONFIG ( | |||||||
| ) | ) | ||||||
|  |  | ||||||
| :: Pick right version of clink | :: Pick right version of clink | ||||||
|  | echo here | ||||||
|  |  | ||||||
| if "%PROCESSOR_ARCHITECTURE%"=="x86" ( | if "%PROCESSOR_ARCHITECTURE%"=="x86" ( | ||||||
|     set architecture=86 |     set architecture=86 | ||||||
|     set architecture_bits=32 |     set architecture_bits=32 | ||||||
| @@ -223,6 +225,7 @@ goto :PATH_ENHANCE | |||||||
| :: Skip this if GIT WAS FOUND else we did 'endlocal' above! | :: Skip this if GIT WAS FOUND else we did 'endlocal' above! | ||||||
| endlocal | endlocal | ||||||
|  |  | ||||||
|  | echo here2 | ||||||
| :PATH_ENHANCE | :PATH_ENHANCE | ||||||
| %lib_path% enhance_path "%CMDER_ROOT%\vendor\bin" | %lib_path% enhance_path "%CMDER_ROOT%\vendor\bin" | ||||||
| %lib_path% enhance_path_recursive "%CMDER_ROOT%\bin" %max_depth% | %lib_path% enhance_path_recursive "%CMDER_ROOT%\bin" %max_depth% | ||||||
| @@ -356,4 +359,6 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD | |||||||
| ) | ) | ||||||
|  |  | ||||||
| set initialConfig= | set initialConfig= | ||||||
|  |  | ||||||
|  |  | ||||||
| exit /b | exit /b | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								vendor/lib/lib_path.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/lib/lib_path.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -58,12 +58,12 @@ exit /b | |||||||
|     set found=0 |     set found=0 | ||||||
|  |  | ||||||
|     %lib_console% debug_output  :enhance_path "Env Var - find_query=%find_query%" |     %lib_console% debug_output  :enhance_path "Env Var - find_query=%find_query%" | ||||||
|     echo %path%|findstr >nul /I /R ";%find_query%\"$" |     echo "%path%"|findstr >nul /I /R ";%find_query%\"$" | ||||||
|     if "!ERRORLEVEL!" == "0" set found=1 |     if "!ERRORLEVEL!" == "0" set found=1 | ||||||
|  |  | ||||||
|     %lib_console% debug_output  :enhance_path "Env Var 1 - found=!found!" |     %lib_console% debug_output  :enhance_path "Env Var 1 - found=!found!" | ||||||
|     if "!found!" == "0" ( |     if "!found!" == "0" ( | ||||||
|         echo %path%|findstr >nul /i /r ";%find_query%;" |         echo "%path%"|findstr >nul /i /r ";%find_query%;" | ||||||
|         if "!ERRORLEVEL!" == "0" set found=1 |         if "!ERRORLEVEL!" == "0" set found=1 | ||||||
|         %lib_console% debug_output  :enhance_path "Env Var 2 - found=!found!" |         %lib_console% debug_output  :enhance_path "Env Var 2 - found=!found!" | ||||||
|     ) |     ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user