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
I generated the prebuild on my own macOS arm64 computer and then tried to use it in my electron project in the main process, and when I quit the application, electron reported the following error:
I tried to upgrade libuiohook to the latest version and then I don't have this problem. The steps I used were as follows:
git clone https://github.com/SnosMe/uiohook-napi.git
cd uiohook-napi/libuiohook
git branch --set-upstream-to=origin/1.2 master
git pull
cd ..
yarn
yarn prebuild
cp -r prebuilds/drawin-arm64 ../myproject/node_modules/uiohook-napi/prebuilds
But I'm not familiar with Node.js native addons and I don't know how to write C/C++ code, so I'm not sure if this upgrade will cause other problems (for example, I noticed that you should have modified the libuiohook code with libuiohook.patch), so I'd like you to upgrade the version of libuiohook, thanks!
macOS: 12.3.1 arm64
Electron: 18.2.0
I generated the prebuild on my own macOS arm64 computer and then tried to use it in my electron project in the main process, and when I quit the application, electron reported the following error:
iohook also has this problem, but I can fix it by uninstalling .node before exiting the app:
This problem can probably be solved by upgrading libuiohook to the latest version.
The text was updated successfully, but these errors were encountered: