hugo-bin icon indicating copy to clipboard operation
hugo-bin copied to clipboard

Support for downloading binaries from mirror

Open bingenito opened this issue 4 years ago • 1 comments

Current postinstall binary download requires external access. For many corporate environments we have an internal package repository. It would be great if the root portion of the baseUrl can be overriden via env var much like pre-gyp downloads. Are you open to this contribution?

https://github.com/fenneclab/hugo-bin/blob/e3e3030ce753f1091af0c2e60ffd193b7782c7d5/lib/index.js#L8

bingenito avatar May 13 '21 17:05 bingenito

You can submit a PR as long as there's a test for it.

XhmikosR avatar Jun 10 '21 11:06 XhmikosR