support upgrades for adb install

This commit is contained in:
Adonis Najimi 2018-05-14 21:33:50 +02:00
parent bf0b91c444
commit d018277fef

View file

@ -74,7 +74,7 @@ process_t adb_push(const char *serial, const char *local, const char *remote) {
}
process_t adb_install(const char *serial, const char *local) {
const char *const adb_cmd[] = {"install", local};
const char *const adb_cmd[] = {"install", "-r", local};
return adb_execute(serial, adb_cmd, ARRAY_LEN(adb_cmd));
}