globalShortcut is not defined!


#1

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


#2

Please share the code with us.


#4

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.