Simplify scrcpy-server path configuration

The full path of scrcpy-server.jar was partially configured from
meson.build then concatenated by C code.

Instead, directly write the path in C.
This commit is contained in:
Romain Vimont
2019-06-08 19:44:03 +02:00
parent 72bdfbc7a6
commit b777760bca
2 changed files with 1 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
#ifdef OVERRIDE_SERVER_PATH
# define DEFAULT_SERVER_PATH OVERRIDE_SERVER_PATH
#else
# define DEFAULT_SERVER_PATH PREFIX PREFIXED_SERVER_PATH
# define DEFAULT_SERVER_PATH PREFIX "/share/scrcpy/scrcpy-server.jar"
#endif
#define DEVICE_SERVER_PATH "/data/local/tmp/scrcpy-server.jar"