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

add cache feature #13

Closed
liudonghua123 opened this issue Jan 2, 2022 · 1 comment
Closed

add cache feature #13

liudonghua123 opened this issue Jan 2, 2022 · 1 comment

Comments

@liudonghua123
Copy link

liudonghua123 commented Jan 2, 2022

I would like to vote to add some feature like check cache, if it does not hit then axios will download it.
Sometimes my network is not stable, the installation process would not download the file successfully. If I know where the cache it stores, then I can put the file there.

@EverlastingBugstopper
Copy link
Owner

binary downloads are cached and should not be redownloaded. the next release will also allow configuring the installDirectory like so: new Binary("my-binary", "https://example.com/my-binary/linux/v1.0.0.tar.gz", { "installDirectory": "./my-custom-directory" })

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