Skip to content
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

bin update fails (error=binary path not found) #190

Closed
einarpersson opened this issue Mar 7, 2024 · 2 comments · Fixed by #191
Closed

bin update fails (error=binary path not found) #190

einarpersson opened this issue Mar 7, 2024 · 2 comments · Fixed by #191

Comments

@einarpersson
Copy link

Hi! I am new here, and I'm very excited by this little tool. I am using Obtainium on Android which is similar for that platform.

Anyway, everthing seems to work so far, exceeept

❯ bin update aichat --debug
   • debug logs enabled, version: 0.17.3
commit: 9da887da9ce476a54e25828bad962a1cae2da17c
built at: 2024-01-31T03:39:37Z
built by: goreleaser

   • Config directory is: /home/einar/config/bin
   • Download path set to $HOME/.local/bin
   ⨯ command failed            error=binary path /home/einar/aichat not found

I don't understand why it would think it is in /home/einar/aichat. It looks like a bug to be (because my config is alright, yes?)

{
    "default_path": "$HOME/.local/bin",
    "bins": {
        "$HOME/.local/bin/aichat": {
            "path": "$HOME/.local/bin/aichat",
            "remote_name": "aichat",
            "version": "v0.14.0",
            "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "url": "https://github.com/sigoden/aichat",
            "provider": "github",
            "package_path": "aichat"
        },
        "$HOME/.local/bin/bin": {
            "path": "$HOME/.local/bin/bin",
            "remote_name": "bin",
            "version": "v0.17.3",
            "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "url": "github.com/marcosnils/bin",
            "provider": "github",
            "package_path": ""
        }
    }
}

Thanks!

marcosnils added a commit that referenced this issue Mar 10, 2024
fixes #190

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
marcosnils added a commit that referenced this issue Mar 10, 2024
fixes #190

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
@marcosnils
Copy link
Owner

Hey! thx for reporting this. Should be fixed in v0.17.4. Let me know in case it doesn't work as you're expecting.

Cheers!

@einarpersson
Copy link
Author

einarpersson commented Mar 10, 2024

Works! And it was a great experience to update bin using bin for the first time ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants