Check client and server mismatch
Send client version as first parameter and check it at server start. Signed-off-by: Yu-Chen Lin <npes87184@gmail.com> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
aa0f77c898
commit
b963a3b9d5
@@ -131,6 +131,7 @@ execute_server(struct server *server, const struct server_params *params) {
|
||||
#endif
|
||||
"/", // unused
|
||||
"com.genymobile.scrcpy.Server",
|
||||
SCRCPY_VERSION,
|
||||
max_size_string,
|
||||
bit_rate_string,
|
||||
server->tunnel_forward ? "true" : "false",
|
||||
|
||||
Reference in New Issue
Block a user