CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ Non-interruptive Background Updates

Open austincondiff opened this issue 3 years ago • 5 comments

We want CodeEdit to be evergreen, meaning it automatically downloads updates in the background. When the user closes or restarts, CodeEdit installs the downloaded update in the background. When an update is downloaded, the user gets a notification via notification center which allows them to install and restart then. If dismissed it will install on application close. There will be a "Automatically keep CodeEdit up to date" checkbox (enabled by default) that controls this behavior.

austincondiff avatar Sep 29 '22 16:09 austincondiff

@austincondiff Hello, I would like to work on this issue, may I have more information about this? Thanks.

tommyming avatar Oct 17 '22 02:10 tommyming

@tommyming Added details above. Let me know if you have any additional questions.

austincondiff avatar Oct 17 '22 03:10 austincondiff

Can the Sparkle Framework do this? Looking at the docs, I see the SUAutomaticallyUpdate property, which says

Default: NO. Enables automatic download and installation of updates. If set to YES, Sparkle will attempt to download and install new updates silently in the background. In Sparkle 1, updates won’t be opted into this if users need to provide authorization. In Sparkle 2, updates will be downloaded but not installed automatically if authorization is required. In all versions of Sparkle, if the application hasn’t quit for 1 week the user will be presented with installing the downloaded update (unless the updater delegate overrides this).

If we prompt the user for authentication the first time but then auto-update, wouldn't this fulfill the evergreen goal after the first launch and authentication prompt?

MrDevel0per avatar Jan 14 '23 22:01 MrDevel0per

Yes. I believe so. Is this something you’d be willing to take on?

austincondiff avatar Jan 14 '23 22:01 austincondiff

@austincondiff I will try to take this on to the best of my ability.

MrDevel0per avatar Jan 14 '23 23:01 MrDevel0per