Add option to change the push target

A drag & drop always pushed the file to /sdcard/.

Add an option to customize the target directory.

Fixes <https://github.com/Genymobile/scrcpy/issues/659>
This commit is contained in:
Romain Vimont
2019-07-31 01:48:32 +02:00
parent ca970e8aa6
commit a90ccbdf3b
7 changed files with 39 additions and 10 deletions

View File

@@ -7,7 +7,6 @@
#include "net.h"
#define DEVICE_NAME_FIELD_LENGTH 64
#define DEVICE_SDCARD_PATH "/sdcard/"
// name must be at least DEVICE_NAME_FIELD_LENGTH bytes
bool