mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
check for clink existence
This commit is contained in:
parent
5cdb98abb7
commit
a0f234b9d0
7
vendor/init.bat
vendored
7
vendor/init.bat
vendored
@ -147,7 +147,12 @@ if "%PROCESSOR_ARCHITECTURE%"=="x86" (
|
||||
if "%CMDER_CLINK%" == "1" (
|
||||
%print_verbose% "Injecting Clink!"
|
||||
|
||||
:: Run clink
|
||||
:: Check if Clink is not present
|
||||
if not exist "%CMDER_ROOT%\vendor\clink\clink_%clink_architecture%.exe" (
|
||||
%print_error% "Clink executable is not present in 'vendor\clink\clink_%clink_architecture%.exe'"
|
||||
)
|
||||
|
||||
:: Run Clink
|
||||
if defined CMDER_USER_CONFIG (
|
||||
if not exist "%CMDER_USER_CONFIG%\settings" if not exist "%CMDER_USER_CONFIG%\clink_settings" (
|
||||
echo Generating clink initial settings in "%CMDER_USER_CONFIG%\clink_settings"
|
||||
|
Loading…
Reference in New Issue
Block a user