pixelmate icon indicating copy to clipboard operation
pixelmate copied to clipboard

Select current device

Open piotrros opened this issue 6 years ago • 1 comments

I have two devices connected and there's no way to know to which one I'm connected to as well as to switch between them. I think it should be a dropdown list to switch devices. What do you think?

piotrros avatar Mar 18 '19 10:03 piotrros

Hi @piotrros, This is definitely possible but will require adding the relevant menu option which displays the device list and tweaking adb.js to respect the chosen device rather than pick the first (or error out on the other adb commands): https://github.com/eladnava/pixelmate/blob/578fec672846c051d44d7c7a2dc2510bc8e01a94/src/util/adb.js#L154-L162

Feel free to implement if you're up for the challenge. 👍

eladnava avatar Mar 18 '19 23:03 eladnava