-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Auto-Updater for Windows #539
Comments
Hi, for Windows the most easy way would be to add Backrest to Winget, it acts similar to Linux package managers. Installation of Backrest via Winget Update of Backrest via Winget: @garethgeorge Edit: |
Great idea, didn't think of that. Btw, is it possible to mantain the config (now I'm running the version download from the Releases here on GitHub)? Thank you |
Just wanted to share an alternative idea to winget. George, you already have the code to download restic from github. You can probably use the same code to update backrest.exe and backrest-windows-tray.exe from github (and not depend on Microsoft approving your app). From what I'm reading, in order for a running process to update itself on Windows, it needs to rename the old exe to a different name, then download the new version with the correct name. My guess is that you want the self-update process to be portable across all operating systems. I assume this is what you currently have with restic binary. |
Is your feature request related to a problem? Please describe.
Backrest releases come out pretty often. I've installed it on many computers and it's quite hard to keep track of which version is installed where.
Describe the solution you'd like
It'd be nice to have an auto-updater component for the Windows version (letting the user choose if automatic installation can be done or just notify of the update).
Additional context
Could implement it pretty easily just by periodically querying the GitHub API. The hard(er) part is to determine the currently installed version.
The text was updated successfully, but these errors were encountered: