node-chromium
node-chromium copied to clipboard
Is there a way to specify what platform binary we'd like?
I'd like to install a linux binary of chromium using this tool however when I run npm install chromium
I only get the Windows binary. Any help would be appreciated, thank you.
Tried using node install chromium --platform=linux
but I still get back the chrome-win
binary
@aceamarco Platform is automatically selected according to the platform on which you launch package manager.
So, if you do e.g. npm install
on Linux it should download Linux binaries:
https://github.com/dtolstyi/node-chromium/blob/master/utils.js#L18