mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
14 lines
271 B
Batchfile
14 lines
271 B
Batchfile
|
@echo off
|
||
|
|
||
|
set CMDER_ROOT=%~dp0..\
|
||
|
|
||
|
if "%cmder_init%" == "1" (
|
||
|
"%CMDER_ROOT%\vendor\clink\clink.bat" inject -q --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
|
||
|
) else (
|
||
|
set cmder_init=1
|
||
|
)
|
||
|
|
||
|
pushd %CMDER_ROOT%
|
||
|
call "%CMDER_ROOT%\vendor\init.bat" /f
|
||
|
popd
|