Closed elamperti closed 2 years ago
I just tested the changes with node 10, 12 and 16. Everything seems to be alright.
docker run -it \
-v "$(pwd)":/app \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.Xauthority:/root/.Xauthority \
-e DISPLAY=unix$DISPLAY \
--net=host \
--entrypoint /bin/bash \
node:12-slim # node:{10,12,16}-slim
apt-get update && apt-get install -y python3 make g++ libxdo-dev
cd /app
rm -rf node_modules && npm install
node example.js
Changes got the tag v0.2.0
and are now published on npmjs npm publish
.
https://github.com/HeinrichAD/libxdo/tags https://www.npmjs.com/package/libxdo
🎉 Thank you!
Given that
ffi
has been failing to install on node >= 14 and that there is a set of new libraries that fix this (and seem to be a bit more updated), this change should be enough to get things working again. I did my best to follow the structure and style of the existing code, so the only changes are the library references.I've tested it with Node 17.0.1 (using
example.js
).I hope this can be merge (and tagged! 🔖 ) so I can use this package properly :)
Let me know if there's any issue! Thank you