Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to specify what platform binary we'd like? #61

Open
aceamarco opened this issue May 11, 2023 · 2 comments
Open

Is there a way to specify what platform binary we'd like? #61

aceamarco opened this issue May 11, 2023 · 2 comments

Comments

@aceamarco
Copy link

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.

@aceamarco
Copy link
Author

Tried using node install chromium --platform=linux but I still get back the chrome-win binary

@dtolstyi
Copy link
Owner

dtolstyi commented May 12, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants