0.0.4 • Published 2 years ago

@hcfy/uiohook-shortcut v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-shoutcut

Then replace Electron's gobalShortcut to @hcfy/uiohook-shoutcut:

import { globalShortcut } from 'electron'
// replace to
import * as globalShortcut from '@hcfy/uiohook-shoutcut'

Done.