We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Going through the code, my understanding was that it could be done by putting in the config:
binaries: [ "folder-name/myapp-cli" ],
But then I get an error:
Error: ENOENT: no such file or directory, open 'bin/go-ipfs/ipfs'
As it expects that the full folder to be moved to the bin.
Thanks in advance :)
Update: Some notes fro the digging
https://github.com/avh4/binwrap/blob/master/index.js#L8-L10 uses the binary name to check if it is already present on the bin folder
https://github.com/avh4/binwrap/blob/master/install.js#L22 uses the unpacked folder + binary name to find the binary. However, when a binary is one or more levels deep, it fails to find it.
https://github.com/avh4/binwrap/blob/master/bin/binwrap-install#L16 line that needs to be aware if the bin is somewhere else within the directory (or maybe here https://github.com/avh4/binwrap/blob/master/bin/binwrap-install#L16)
The text was updated successfully, but these errors were encountered:
As noted in #39 (comment), I think the ideal fix for this would be to make folder names in binaries work as originally expected.
binaries
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Going through the code, my understanding was that it could be done by putting in the config:
But then I get an error:
As it expects that the full folder to be moved to the bin.
Thanks in advance :)
Update: Some notes fro the digging
https://github.com/avh4/binwrap/blob/master/index.js#L8-L10 uses the binary name to check if it is already present on the bin folder
https://github.com/avh4/binwrap/blob/master/install.js#L22 uses the unpacked folder + binary name to find the binary. However, when a binary is one or more levels deep, it fails to find it.
https://github.com/avh4/binwrap/blob/master/bin/binwrap-install#L16 line that needs to be aware if the bin is somewhere else within the directory (or maybe here https://github.com/avh4/binwrap/blob/master/bin/binwrap-install#L16)
The text was updated successfully, but these errors were encountered: