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
commit 0fca2ad830
13 changed files with 51 additions and 3 deletions

View file

@ -29,6 +29,7 @@ _scrcpy() {
-N --no-display
--no-key-repeat
--no-mipmaps
--no-power-on
--otg
-p --port=
--power-off-on-close