electron-localshortcut : register/unregister a keyboard shortcut locally to a BrowserWindow instance, without using a Menu. You can installing electron-localshortcut npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install electron-localshortcut $ sudo npm install -g electron-localshortcut
If want to update the electron-localshortcut package execute the command as below,
$ sudo npm update electron-localshortcut
Update package globally,
$ npm install -g electron-localshortcut
$ sudo git clone https://github.com/rektide/electron-localshortcut.git
$ sudo npm install -g ./electron-localshortcut
electron-localshortcut@2.0.2 /usr/lib/node_modules/electron-localshortcut
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall electron-localshortcut
Package Name | electron-localshortcut |
Version | 2.0.2 |
Description | register/unregister a keyboard shortcut locally to a BrowserWindow instance, without using a Menu |
Released Date | 2017-06-23T13:38:59.211Z |
Published by | parroit |
How to Learn | https://www.npmjs.com/package/electron-localshortcut/tutorial |