parro-it/electron-localshortcut

Accelerator stopped working in v3

sindresorhus opened this issue · 2 comments

This used to work in v2, but stopped working in v3:

localShortcut.register('Cmd+Alt+I', () => {
  console.log('Works');
});

Other accelerators like `'Cmd+Shift+C'` work.

Could you try version 3.0.4? It containes an upgraded version of keyboardevent-from-electron-accelerator that should solve the problem.

Yup, that did it :)