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

Add option to not power on on start

By default, on start, the device is powered on. To prevent this
behavior, add a new option --no-power-on.

Fixes #3148 <https://github.com/Genymobile/scrcpy/issues/3148>
PR #3210 <https://github.com/Genymobile/scrcpy/pull/3210>
This commit is contained in:
Romain Vimont
2022-04-23 15:08:30 +02:00
parent 326897a0d4
commit 0fca2ad830
13 changed files with 51 additions and 3 deletions

View File

@@ -139,6 +139,7 @@ struct scrcpy_options {
bool select_tcpip;
bool cleanup;
bool start_fps_counter;
bool power_on;
};
extern const struct scrcpy_options scrcpy_options_default;