Depending on the parameters passed to scrcpy, either the initial device serial is necessary or not. Reorganize to simplify the logic.
Depending on the parameters passed to scrcpy, either the initial device serial is necessary or not. Reorganize to simplify the logic.