diff --git a/rime-install.bat b/rime-install.bat index 8c9d325..fcc4bb6 100644 --- a/rime-install.bat +++ b/rime-install.bat @@ -375,6 +375,12 @@ set search_path=^ %ProgramFiles%\Git\mingw%arch%\bin;^ %ProgramFiles%\Git\usr\bin; +rem find Custom Git in 32-bit cmd.exe +if defined GIT_INSTALL_ROOT set search_path=%search_path%^ +%GIT_INSTALL_ROOT%\cmd;^ +%GIT_INSTALL_ROOT%\mingw%arch%\bin;^ +%GIT_INSTALL_ROOT%\usr\bin; + rem find 64-bit Git in 32-bit cmd.exe if defined ProgramW6432 set search_path=%search_path%^ %ProgramW6432%\Git\cmd;^