Open FluffyDiscord opened 1 year ago
Hi! Thanks for the report. Unfortunately, I personally do not own an M1 Mac, nor does anyone on our team. We won't be able to reproduce your issue with manual building, so I apologize for the inconvenience. This may be an issue with a heavily outdated node-abi version, so I'll push an update later that will bump it to the latest.
As for prebuilds, I'll look into third-party CI services to get something working. GitHub Actions does not yet have M1 virtual machines to run jobs on, but something like Cirrus CI does (https://cirrus-ci.org).
ABI issue aside, the following fork + commit of the original claims to add M1 support: https://github.com/hiredigital/iohook/commit/4f62acf15e4c7e991c4d01da97b31d3778521c92
Might be able to reference that for anyone willing to make a PR
FYI I bumped node-abi version to latest everything seems to be build on the existing Actions fine. Working on Cirrus CI now for automatic M1 builds (hopefully!)
Edit: looks like Cirrus placed a nasty limit. I'll try Circle and etc.
Hi, would i be possible to add builds for M1 silicon? Manual build fails (
npm run build
inside downloaded the module) withpackage.json
I am trying to use it alongside electron