1.0.2 • Published 1 year ago

global-key-listener v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

install

npm install global-key-listener

module

it's built on top of node-global-key-listener module this module fixing the error occurs when packaging the application that built on node-global-key-listener

how that fixed?

when the application packaged, the application can read the files that exists in the directory, like WinKeyServer.exe. but it's stillcannot spawn it ! this package contains function named createGlobalKeyListener thats returning instance of GlobalKeyboardListener but with server path config option

when excute this module, it's create a new folder in %appdata% path, and named it with temp. this folder will contains a copy of binaries that required in node-global-key-listener package, and when you use the exported function of global-key-listener, the function will pass the path of the server to the node-global-key-listener.

in this way, the error will be fixed when node-global-key-listener trying to spawn a program that exacly exists in the operating system.