mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-03 08:06:02 +00:00
Use $ANDROID_SERIAL if no selector is specified
Like adb, read the ANDROID_SERIAL environment variable to select a device by serial if no explicit selection (-s, -d, -e or --tcpip=<addr>) is provided via the command line. Fixes #3111 <https://github.com/Genymobile/scrcpy/issues/3111> PR #3113 <https://github.com/Genymobile/scrcpy/pull/3113>
This commit is contained in:
parent
b1dbc30072
commit
4ce7af42c6
4 changed files with 21 additions and 1 deletions
|
@ -477,6 +477,10 @@ Push file to device (see \fB\-\-push\-target\fR)
|
|||
.B ADB
|
||||
Path to adb.
|
||||
|
||||
.TP
|
||||
.B ANDROID_SERIAL
|
||||
Device serial to use if no selector (-s, -d, -e or --tcpip=<addr>) is specified.
|
||||
|
||||
.TP
|
||||
.B SCRCPY_ICON_PATH
|
||||
Path to the program icon.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue