globalShortcut is not defined!


globalShortcut.register() is not a function !!!
I tried to console.log( electron.globalShortcut ) but it is undefined.Why??
Is it deprecated or replaced??


Please share the code with us.


You should format your code so that the forum knows it’s code. You can do that by highlighting it and pressing the </> button above the editor.