Rebuild node modules for a different OS


#1

I’m am building an app on Mac (OSX 10.11.3) for all platforms (Linux, Mac and Windows), but some modules are not cross-platform compatible. (e.g.: Node-Speaker)

Is there a way to rebuild the node app for a different OS?
Just a guess, running Electron-Rebuild using wine(bottler) for Windows.
But then what for Linux?

The only option I see is build and package each app on its own OS…
I hope you can help me with this stuff