adjust root path

This commit is contained in:
David Refoua 2022-10-25 18:42:30 +03:30
parent 6d46df634e
commit a2a996147e

View File

@ -1,13 +1,13 @@
@echo off
set CMDER_ROOT=%~dp0..\
set CMDER_ROOT=%~dp0..\..\
if "%cmder_init%" == "1" (
"%CMDER_ROOT%\vendor\clink\clink.bat" inject -q --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
"%CMDER_ROOT%\vendor\clink\clink.bat" inject -q --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
) else (
set cmder_init=1
set cmder_init=1
)
pushd %CMDER_ROOT%
pushd "%CMDER_ROOT%"
call "%CMDER_ROOT%\vendor\init.bat" /f
popd