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

Setting the archive binary name #42

Open
axllent opened this issue Jun 12, 2021 · 0 comments · May be fixed by #43
Open

Setting the archive binary name #42

axllent opened this issue Jun 12, 2021 · 0 comments · May be fixed by #43

Comments

@axllent
Copy link

axllent commented Jun 12, 2021

Please excuse me if I have overlooked something, but is there a way to manually specify the binary name in the downloaded archive?

Currently it appears to be hardcoded to the running binary name, however if myapp was renamed locally to myapp-dev, then the update fails because "myapp-dev" doesn't exist in the archive.

Ideally there should be a way to set the binary name the updater should look for in the archive, so that myapp-dev would get updated with the myapp binary in the archive.

magni- added a commit to rainforestapp/go-github-selfupdate that referenced this issue Jul 19, 2021
This will default to the existing behavior: using the name of the currently running executable.

Fixes rhysd#42
@magni- magni- linked a pull request Jul 19, 2021 that will close this issue
magni- added a commit to rainforestapp/go-github-selfupdate that referenced this issue Jul 20, 2021
This will default to the existing behavior: using the name of the currently running executable.

Fixes rhysd#42
magni- added a commit to rainforestapp/go-github-selfupdate that referenced this issue Jul 20, 2021
This will default to the existing behavior: using the name of the currently running executable.

Fixes rhysd#42
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.

1 participant