You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
I'm having issue with GlobalKeyboardListener on MacOS (namely Monterey) in packaged electron app.
Windows 10 + 11 - Works OK. In DEV version and packed version
MacOS - DEV version worked OK but packed version is not working.
I add lib as external, add right serverPath for mac but no progress.
Hi,
Thx for the help offer. I'm just stuck with this.
As I said - everything is working fine on windows. Even if I make publish version of mine Electron App.
BUT MacOS is working just in DEV version.
When I was testing MacOS version - I was getting prompt window where GlobalKeyboardListener wanted the password because script was trying to found the server file. THAT IS happening only when path to that file was wrong and the file was not found.
When I finally add the right path -a prompt window disappeared BUT it's not working :(.
So serverPath is right - we know that now. What next ?
Could it be issue that MacKeyServer is inside the dmg file ?
Hi,
I'm having issue with GlobalKeyboardListener on MacOS (namely Monterey) in packaged electron app.
Windows 10 + 11 - Works OK. In DEV version and packed version
MacOS - DEV version worked OK but packed version is not working.
I add lib as external, add right serverPath for mac but no progress.
mac: { serverPath: app.isPackaged ? path.join( __dirname, '../../../app.asar.unpacked/node_modules/node-global-key-listener/bin/MacKeyServer' ) : 'node_modules/node-global-key-listener/bin/MacKeyServer', },
The text was updated successfully, but these errors were encountered: