Marcel Blum

Results 99 comments of Marcel Blum

You can add ``` wavesurfer.on('error', function (err) { console.warn("error", err?.message || err); }); ``` to see the error message. I'm not sure any browser can natively decode this type of...

FWIW I can't reproduce, tested on latest Catalina 10.15.5 as well as High Sierra 10.13.6 in a packaged app using iohook 0.6.6, electron 8.4.0, node 12.13.0. Caps lock press causes...

Based on recent findings from https://github.com/wilix-team/iohook/issues/246, the issue only applies to when iohook is used in the main process. `require` it in the renderer process instead (`BrowserWindow` must have `webPreferences:...

@DCzajkowski as I noted above a while back, the crash does not happen if you load iohook in the renderer process. I just tested it some more today after reading...

@DCzajkowski iohook can still detect global key presses even if you instantiate it in the renderer. And you could use `BrowserWindow.isFocused()` in the key handling logic (or track `window.onfocus/window.onblur`).

The instructions are a little unclear, to manually build for now you must manually clone the full iohook repo, then `npm install` and `npm run build`. You can then copy...

Hmm possibly related to https://github.com/nodejs/node-gyp/issues/2534 looks like some kind of Node version conflict. I can build manually without this `openssl_fips` error on Windows 10 with Node 14.17.6, FWIW. Maybe try...

@tcardlab I have an experimental fork adapted to use libuiohook 1.2 here https://github.com/marcelblum/iohook you are welcome to try building from there for Mac to test if it fixes the issue....

There is no prebuild available for Electron 14 yet, but you can compile it manually. Tested working on macOS 11.6 x64.

@valueerrorx it does already work with those versions you just have to build it manually https://wilix-team.github.io/iohook/manual-build.html