mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 19:45:00 +00:00
Show file successfully pushed
Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
This commit is contained in:
parent
690548d24a
commit
46fc295586
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "config.h"
|
||||
#include "command.h"
|
||||
#include "screen.h"
|
||||
#include "util/lock.h"
|
||||
#include "util/log.h"
|
||||
|
||||
|
@ -145,6 +146,7 @@ run_file_handler(void *data) {
|
|||
if (process_check_success(process, "adb push")) {
|
||||
LOGI("%s successfully pushed to %s", req.file,
|
||||
file_handler->push_target);
|
||||
screen_add_text_event("File successfully pushed");
|
||||
} else {
|
||||
LOGE("Failed to push %s to %s", req.file,
|
||||
file_handler->push_target);
|
||||
|
|
Loading…
Add table
Reference in a new issue