the-via / app

GNU General Public License v3.0
764 stars 173 forks source link

When I package and deploy the "the-via/app" project to my own server and use an Electron wrapper that points to my own website, the Electron client gets stuck on the "Searching for devices..." page. #200

Closed liangtian123 closed 9 months ago

liangtian123 commented 9 months ago

Describe the bug After forking the "the-via/app" project, running npm run start and npm run build, and deploying it to my server, everything works fine when accessing it in Google Chrome. However, when I use an Electron wrapper that points to my deployed website and open the Electron client, it gets stuck on the "Searching for devices..." page. But I noticed that your Electron client works correctly, allowing keyboard connection and accessing the key remapping page. Are there any specific considerations or issues related to Electron packaging that I should be aware of? I would greatly appreciate any help!

20231012173752
liangtian123 commented 9 months ago

image

I've already solved it. Just follow the link configuration!! https://www.electronjs.org/docs/latest/tutorial/devices#webhid-api