diff --git a/install.bat b/install.bat index fdb9771a46..784fd850cd 100644 --- a/install.bat +++ b/install.bat @@ -10,10 +10,13 @@ set IDF_PATH=%IDF_PATH:~0,-1% echo Installing ESP-IDF tools python.exe %IDF_PATH%\tools\idf_tools.py install +if %errorlevel% neq 0 goto :end echo Setting up Python environment python.exe %IDF_PATH%\tools\idf_tools.py install-python-env +if %errorlevel% neq 0 goto :end echo All done! You can now run: echo export.bat -:: Clean up + +:end