sparkle-project / Sparkle

A software update framework for macOS
https://sparkle-project.org
Other
7.28k stars 1.04k forks source link

Guard update timer update check against sessionInProgress #2561

Closed zorgiepoo closed 2 months ago

zorgiepoo commented 2 months ago

Make sure we don't perform a background update check when a user update check was initiated. This may have regressed from #2295.

Also replaces an assert with an error log if the _driver already exists.

Fixes #2560

Misc Checklist

Testing

I tested and verified my change by using one or multiple of these methods:

Tested scheduled update checks still works with test app and user can still check for updates.

macOS version tested: 14.4.1 (23E224)