jaemk / self_update

Self updates for rust executables
MIT License
796 stars 69 forks source link

Required path update error #51

Closed nampdn closed 4 years ago

nampdn commented 4 years ago

Hello, I tried to run this project but it throws this message after downloaded, either run as library for other packages.

Extracting archive... [Error] UpdateError: Could not find the required path in the archive: "github"

Can you determined the error so that I can help with a PR?

jaemk commented 4 years ago

Are you running the example with these features enabled --features "archive-tar compression-flate2"? It's mentioned in the readme, but I've forgotten about it before also and ran into this error myself

nampdn commented 4 years ago

You saved my day! I tried with single feature archive-tar or compression-flate2 at a time but never try to combine them as I didn't take care of README carefully.