mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
just don't wait for the end of cmd process
This commit is contained in:
parent
efc75e8b45
commit
dc68d994d0
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue