-
Notifications
You must be signed in to change notification settings - Fork 267
-
Right now when an update is released it requires going to github downloading the file and extracting it. Then updating the binaries where ever you have it installed with the new ones. This is a cumbersome process but typically fairly easy and straight forward. It becomes more annoying though if there are multiple releases in a short period of time.
The user then can either turn off updates which is probably not recommended or update each version as they release. I propose 2 ideas that could be done independently or at the same time.
- Make a stable/lts version and a nightly version. If users pick nightly option they will get an update alert on every release. If they pick stable/lts they would only get alerts on cumulative updates that are released maybe once a month. This would reduce the number of alerts people get without turning off update alerts all together. This could be accomplished by having some tag in the release version that denotes a nightly vs stable/lts release.
- Implement an in app updater system. Something like Squirrel which would allow users to just click a button on ui and have the app update and restart automatically.
I think doing both options is a good idea but doing option 1 shouldn't be too difficult to implement while a more long term solution is developed like option 2.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments 3 replies
-
On what operating system do you use SourceGit
?
Beta Was this translation helpful? Give feedback.
All reactions
-
Windows 11
Beta Was this translation helpful? Give feedback.
All reactions
-
It's recommanded to use winget
to install SourceGit.
winget install SourceGit
Beta Was this translation helpful? Give feedback.
All reactions
-
I second @igloo15's suggestion regarding the in app updater.
Maybe one of the following projects could be used for the implementation of this updater?
- https://github.com/NetSparkleUpdater/NetSparkle (cross-platform)
- https://github.com/ravibpatel/AutoUpdater.NET (Windows)
- https://github.com/vslavik/winsparkle (Windows)
- https://github.com/sparkle-project/Sparkle (macOS)
Beta Was this translation helpful? Give feedback.
All reactions
-
I'd also love to get an in-app updater.
I just tried WinGet, but it downloads the application into its own winget directory within AppData>Local>Microsoft>Winget>Packages, ignored my previous download, which I dislike, and as the application .exe is a standalone and doesn't have an install process that adds the program to the StartMenu, I had to go digging to find the installed application. I'd much prefer to have the application extracted and placed in my C://Program Files folder like any other x64 windows app, and have the in-app updater keep the install location there (or wherever the last .exe was located).
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
To follow-up on this, I saw there was a new version of SourceGit, and now that I installed via winget, without moving the folder around or anything, after trying to use the winget update SourceGit
command, it fails to find the new version. Even trying the install keyword instead just says it found a pre-existing installation, trying to upgrade, no later version found. So auto-updating SourceGit via winget doesn't even work as an alternative :(
image
Beta Was this translation helpful? Give feedback.