2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-02 23:35:19 +00:00

Add --no-cleanup option

It might be useful not to cleanup on exit, for example to leave the
screen turned off, or keep the server binary on the device (via the
server option "cleanup=false").

Fixes #1764 <https://github.com/Genymobile/scrcpy/issues/1764>
PR #3020 <https://github.com/Genymobile/scrcpy/pull/3020>
This commit is contained in:
Romain Vimont
2022-02-13 17:17:01 +01:00
parent bb991f829c
commit ccbe370cc5
9 changed files with 46 additions and 5 deletions

View File

@@ -137,6 +137,7 @@ struct scrcpy_options {
const char *tcpip_dst;
bool select_usb;
bool select_tcpip;
bool cleanup;
};
extern const struct scrcpy_options scrcpy_options_default;