What about the last script on this wiki page from node-webkit https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0. Seems like reasonable approach without getting too gnarly?