Skip to content

Implement a programmatic cancel of an updpate #2501

@gaidarjimax

Description

@gaidarjimax

Hello! I am using Sparkle, more specific the SPUUpdater, to update another application. I would like to have an option to cancel an update programmatically when automaticallyDownloadsUpdates is set to true, and SPUAutomaticUpdateDriver is performing the update.

Possible Fix

The SPUAutomaticUpdateDriver as other SPUUpdateDrivers has abortUpdateWithError method which does exactly what I need, but this method is not reachable from the SPUUpdater interface, or from UserDriver, or the UpdaterDelegate that are passed to the SPUUpdater.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions