-
Notifications
You must be signed in to change notification settings - Fork 34
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 download a binary file? #51
Comments
Currently it only handles packages. Where would the binary be installed to? |
What feels intuitive to me for this functionality would be for any URL that didn't resolve to an archive file, create a directory in node_modules with the name from package.json and put the file in there. For example in my project I then copy that bin into a docker container in its /usr/bin. If I could depend on an arbitrary URL I can completely avoid installing curl, updating apt-get etc in the container. |
I'm trying to include this file as part of my install, but napa is not retrieving it correctly, https://github.com/away3d/away3d-core-fp11/releases/download/v4.1.6/away3d-core-fp11_4_1_6.swc |
For example, I'd like to use napa to download a binary: https://github.com/kreuzwerker/envplate/releases/download/v0.0.8/ep-linux
Is it possible to do this? If not, I think it would be a nice feature to be able to download single files with napa.
The text was updated successfully, but these errors were encountered: