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

Alternate binary locations #77

Closed
MrHavard opened this issue Jul 12, 2017 · 3 comments
Closed

Alternate binary locations #77

MrHavard opened this issue Jul 12, 2017 · 3 comments

Comments

@MrHavard
Copy link

Due to proxy issues we can't download the binaries via the install script. Is there anyway to provide an alternate path to retrieve the binaries from an internal repo or NPM/artifactory location?

@sindresorhus
Copy link
Contributor

Open an issue on https://github.com/kevva/bin-wrapper to support alternative binary locations.

@zend
Copy link

zend commented Feb 6, 2020

const url = `https://raw.githubusercontent.com/imagemin/gifsicle-bin/v${pkg.version}/vendor/`;

When behind a proxy, a direct connect to raw.githubusercontent.com may fail. If the url in this code can be changed in environment variable, the problem can be solved.

Issues like kevva/bin-wrapper#50 and kevva/bin-wrapper#62 is placed over two years without response. In fact, there are a lot Alternate binary locations maintained by community, like https://raw.github.cnpmjs.org/imagemin/, and we can replace the domain name and solve the problem here in this code.

@06kellyjac
Copy link

Open an issue on kevva/bin-wrapper to support alternative binary locations.

That's a pretty weird thing to say when you looked at a PR adding alternative binary support to kevva/bin-wrapper that same day only a couple minutes beforehand

kevva/bin-wrapper#56 (comment)

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

4 participants