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