iohook
iohook copied to clipboard
When can we use iohook on m1 Macbook ?
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
- IOHook Version:
- Environment name and version (e.g. Chrome 39, node.js 5.4, electron 11.2):
- Operating System and version (desktop or mobile):
- Optional Link to your project:
You can do a manual build of iohook on an Apple Silicon Mac and it works perfectly (as far as I can tell so far, been testing it on an M1 14" MacBook PRo for a couple weeks now).
Didn't work for me.
@Sanjeev900 Look at #400 , I solved it pretty easily once I got the right instructions.
We've built and hosted an M1 compatible v0.9.4 (certain ABI versions only) which you can use by referring our repo: https://github.com/hiredigital/iohook/releases
"dependencies": {
...
"iohook": "git+https://github.com/hiredigital/iohook.git#v0.9.4",
...
},
You can easily do this in your own fork too, if you need other ABI versions. Just build them locally, add them as a release (with a tag) and use your fork as the dependency, provided you make these changes to the install script: https://github.com/hiredigital/iohook/commit/4f62acf15e4c7e991c4d01da97b31d3778521c92