wilix-team / iohook

Node.js global keyboard and mouse listener.
https://wilix-team.github.io/iohook
MIT License
1.2k stars 291 forks source link

build assets manually for electron 10.1.1, and set app.allowRendererProcessReuse = false, the application process can't start again.. #254

Closed quanweibai closed 4 years ago

quanweibai commented 4 years ago

built assets for electron 10.1.1 manually, and add .node file to node_modules, after that, got the error msg: Uncaught Error: Loading non-context-aware native module in renderer: '.../Release/iohook.node', but app.allowRendererProcessReuse is true, as the error info mention above, I set app.allowRendererProcessReuse = false in main process, sadly the application process can't start again...

企业微信截图_b54a1ab4-71ed-4eae-9dc1-afea79b7d0f4

I guess electron 10.1.1 is not supported by iohook currently?

Djiit commented 4 years ago

Hey, nope, still no official support. If you can help, it will be greatly appreciated. Closing this as we now state this in the README.