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

dest() affects the success of run() finding a binary

Open polarathene opened this issue 6 years ago • 0 comments

dest()

Accepts a path which the files will be downloaded to.

run()

Runs the search for the binary. If no binary is found it will download the file using the URL provided in .src().

Oddly, the path given to dest() appears to affect the success of run()? I was trying to figure out why bin-wrapper was not working in the imagemin-cwebp/cwebp-bin package, cwebp -version works just like they test for, which cwebp points to /usr/bin, but when running the package install.js which uses bin-wrapper it fails to run the command.

polarathene avatar Jan 02 '19 03:01 polarathene