mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Merge pull request #734 from chase-miller/development
Added check for git install path in init.bat.
This commit is contained in:
commit
85804d729e
2
vendor/init.bat
vendored
2
vendor/init.bat
vendored
@ -37,6 +37,8 @@
|
|||||||
set "GIT_INSTALL_ROOT=%ProgramFiles%\Git"
|
set "GIT_INSTALL_ROOT=%ProgramFiles%\Git"
|
||||||
) else if exist "%ProgramFiles(x86)%\Git" (
|
) else if exist "%ProgramFiles(x86)%\Git" (
|
||||||
set "GIT_INSTALL_ROOT=%ProgramFiles(x86)%\Git"
|
set "GIT_INSTALL_ROOT=%ProgramFiles(x86)%\Git"
|
||||||
|
) else if exist "%USERPROFILE%\AppData\Local\Programs\Git" (
|
||||||
|
set "GIT_INSTALL_ROOT=%USERPROFILE%\AppData\Local\Programs\Git"
|
||||||
) else if exist "%CMDER_ROOT%\vendor\git-for-windows" (
|
) else if exist "%CMDER_ROOT%\vendor\git-for-windows" (
|
||||||
set "GIT_INSTALL_ROOT=%CMDER_ROOT%\vendor\git-for-windows"
|
set "GIT_INSTALL_ROOT=%CMDER_ROOT%\vendor\git-for-windows"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user