02d46b2262
In practice, it just tests if the serial contains a ':', which is sufficient to distinguish ip:port from a real USB serial. PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>