0.0.4 • Published 4 years ago
@hcfy/uiohook-shortcut v0.0.4
UIOHook Shortcut
A Electron's globalShortcut replacement based on uiohook-napi.
Why?
Because Electron's globalShortcut disables the default behavior.
How to use
First, install it:
npm i @hcfy/uiohook-shoutcutThen replace Electron's gobalShortcut to @hcfy/uiohook-shoutcut:
import { globalShortcut } from 'electron'
// replace to
import * as globalShortcut from '@hcfy/uiohook-shoutcut'Done.