Relative Content

Tag Archive for javascriptelectron

Connect to a USB device using electron

I am using navigator.usb.requestDevice to get a USB device. I am able to get the device I wanted i.e. Thermal printer. But when call device.open() it always throws an error Device was disconnected. When do the same thing in browser it works. I am not sure what I am doing wrong.

why we use browser window for Electron

I am right now learning Electron and I have a confusion.so when we create a app using lets say flutter then we run that app on a virtual mobile but for electron we run in on browser window even though our aim is to run it on an operating system so cant we simple run it on our own machines operating system (windows in my case) and after I am done developing the whole thing how can I run it on my operating system