| 1 | @echo off |
| 2 | setlocal |
| 3 | cd /d "%~dp0" |
| 4 | |
| 5 | set "BASH_EXE=%ProgramFiles%\Git\bin\bash.exe" |
| 6 | if not exist "%BASH_EXE%" set "BASH_EXE=%LocalAppData%\Programs\Git\bin\bash.exe" |
| 7 | |
| 8 | if not exist "%BASH_EXE%" ( |
| 9 | echo Git Bash is required. Install Git for Windows, then run this command again. |
| 10 | exit /b 1 |
| 11 | ) |
| 12 | |
| 13 | "%BASH_EXE%" start_local.sh |
| 14 | exit /b %ERRORLEVEL% |
| 15 |