Looking for return code
This commit is contained in:
@@ -385,6 +385,12 @@ if not exist "%ADB_PATH%" (
|
||||
echo Installing: %APK%
|
||||
"%ADB_PATH%" install -r "%APK%"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo Deployment failed!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Deployed!
|
||||
"#;
|
||||
|
||||
Reference in New Issue
Block a user