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

Fyne command update & uninstall #50

Open
stuartmscott opened this issue Feb 5, 2021 · 1 comment
Open

Fyne command update & uninstall #50

stuartmscott opened this issue Feb 5, 2021 · 1 comment
Labels
fyne command Issue related to the cmd/fyne command

Comments

@stuartmscott
Copy link
Member

Is your feature request related to a problem? Please describe:

The fyne command makes it easy to install new apps, however it is missing the functionality to update the app to the latest version, or uninstall it from the system.

Is it possible to construct a solution with the existing API?

No?

Describe the solution you'd like to see:

The addition of fyne update or fyne get -u to update and fyne remove to uninstall a previously installed app.

@stuartmscott
Copy link
Member Author

stuartmscott commented Feb 6, 2021

Confirmed with @andydotxyz that fyne get runs go get -u so it gets the latest code, however there is an optimization which prevents the binary from being rebuilt if it already exists so the installed application is not getting updated to the latest code, there are two possible approaches we could take to fix this;

  1. fyne could check if the modification time of the binary is older than the date of the latest commit
  2. fyne could symlink the binary to a file with a name containing the hash of the commit that was compiled, this commit hash could be compared with the repositories current HEAD

@Jacalz Jacalz transferred this issue from fyne-io/fyne Feb 14, 2025
@Jacalz Jacalz added the fyne command Issue related to the cmd/fyne command label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fyne command Issue related to the cmd/fyne command
Projects
None yet
Development

No branches or pull requests

2 participants