mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-13 20:41:40 +00:00
Add option to kill adb on close
Killing adb on close by default would be incorrect, since it would break any other usage of adb in parallel. It could be easily done manually by calling "adb kill-server" once scrcpy terminates, but add an option --kill-adb-on-close for convenience. Fixes #205 <https://github.com/Genymobile/scrcpy/issues/205> Fixes #2580 <https://github.com/Genymobile/scrcpy/issues/2580> Fixes #4049 <https://github.com/Genymobile/scrcpy/issues/4049>
This commit is contained in:
parent
b16d4d1835
commit
a3cdf1a6b8
9 changed files with 31 additions and 0 deletions
|
@ -180,6 +180,7 @@ struct scrcpy_options {
|
|||
bool require_audio;
|
||||
bool list_encoders;
|
||||
bool list_displays;
|
||||
bool kill_adb_on_close;
|
||||
};
|
||||
|
||||
extern const struct scrcpy_options scrcpy_options_default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue