just don't wait for the end of cmd process

This commit is contained in:
Adonis Najimi 2018-04-30 19:53:09 +02:00
parent efc75e8b45
commit dc68d994d0

View file

@ -146,8 +146,9 @@ void server_init(struct server *server) {
}
SDL_bool server_install(struct server *server, const char* apk_path) {
process_t process = adb_install(server->serial, apk_path, DEVICE_SERVER_PATH);
return process_check_success(process, "adb install");
adb_install(server->serial, apk_path, DEVICE_SERVER_PATH);
// async command
return SDL_TRUE;
}
SDL_bool server_start(struct server *server, const char *serial, Uint16 local_port,