I have developped a keylogger using electronjs and library iohook.
It works as expected when I run it on windows and when i run it on Mac in Electron debug mode. But when I package it using electron-builder. On macOs doesn't work but on Windows yes. I suspect it has something to do with SystemPreferences blocking the keylogger access to the keyboard. But I am not sure since I am not expert on Mac Os.
I want online asistance through monitor sharing so that I can understand where is the bug. Thanks. Good english or spanish level required.