jaemk / self_update

Self updates for rust executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Required path update error

nampdn opened this issue · comments

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?

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

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.