Skip to content

✨ Non-interruptive Background Updates #768

Open

Description

@austincondiff

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.

Activity

  1. changed the title [-]Non-interruptive Background Updates[/-] [+]✨ Non-interruptive Background Updates[/+] on Sep 29, 2022
  2. tommyming commented on Oct 17, 2022

    @tommyming

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

  3. austincondiff commented on Oct 17, 2022

    @austincondiff
    CollaboratorAuthor

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

  4. MrDevel0per commented on Jan 14, 2023

    @MrDevel0per
    Contributor

    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?

  5. austincondiff commented on Jan 14, 2023

    @austincondiff
    CollaboratorAuthor

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

  6. MrDevel0per commented on Jan 14, 2023

    @MrDevel0per
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions