Skip to content

Commit

Permalink
Compatible with Visual Studio Code
Browse files Browse the repository at this point in the history
  • Loading branch information
gucong3000 authored Jun 23, 2017
1 parent 89c014b commit 2500593
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ if not defined verbose-output ( set verbose-output=0 )

:: Find root dir
if not defined CMDER_ROOT (
for /f "delims=" %%i in ("%ConEmuDir%\..\..") do set "CMDER_ROOT=%%~fi"
if defined ConEmuDir (
for /f "delims=" %%i in ("%ConEmuDir%\..\..") do set "CMDER_ROOT=%%~fi"
) else (
for /f "delims=" %%i in ("%~dp0\..") do set "CMDER_ROOT=%%~fi"
)
)

:: Remove trailing '\'
Expand Down

0 comments on commit 2500593

Please sign in to comment.