diff --git a/app/src/server.c b/app/src/server.c index 70fa18ca..6061b8b3 100644 --- a/app/src/server.c +++ b/app/src/server.c @@ -16,7 +16,7 @@ #define SERVER_FILENAME "scrcpy-server" #define DEFAULT_SERVER_PATH PREFIX "/share/scrcpy/" SERVER_FILENAME -#define DEVICE_SERVER_PATH "/data/local/tmp/" SERVER_FILENAME +#define DEVICE_SERVER_PATH "/data/local/tmp/scrcpy-server.jar" static const char * get_server_path(void) { diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.java index ad14e5d8..26ef2850 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Server.java +++ b/server/src/main/java/com/genymobile/scrcpy/Server.java @@ -7,7 +7,7 @@ import java.io.IOException; public final class Server { - private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server"; + private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server.jar"; private Server() { // not instantiable