Files
scrcpy/app
Romain Vimont 86e614c9a5 Improve adb devices parsing
`adb devices -l` prints one device per line, containing, separated by
spaces:
 - the device serial,
 - the device state,
 - a list of key:value pairs.

However, the device serial itself may contain spaces, making a simple
split ambiguous.

To avoid ambiguity, parse the string backwards:
 - first, parse all the trailing key-value pairs (containing ':'),
 - then, the preceding token (not containing ':') is the device state,
 - finally, the remaining leading token is the device serial.
2026-02-09 22:51:31 +01:00
..
2026-01-08 20:40:51 +01:00
2026-02-09 22:51:31 +01:00
2026-02-09 22:51:31 +01:00
2026-02-09 18:33:57 +01:00
2025-12-17 19:57:50 +01:00