Skip to content

[stable-33.0] fix(macOS): Fix background update check incorrectly calling Sparkle when automaticallyChecksForUpdates is NO#9754

Merged
i2h3 merged 1 commit intostable-33.0from
backport/9744/stable-33.0
Mar 31, 2026
Merged

[stable-33.0] fix(macOS): Fix background update check incorrectly calling Sparkle when automaticallyChecksForUpdates is NO#9754
i2h3 merged 1 commit intostable-33.0from
backport/9744/stable-33.0

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Mar 31, 2026

Backport of PR #9744

…llyChecksForUpdates

Fixes #9662 - Only checkForUpdatesInBackground when automaticallyChecksForUpdates

Prevents calling -[SPUUpdater checkForUpdatesInBackground] when Sparkle's
automaticallyChecksForUpdates is NO, which caused incorrect behavior and a
Sparkle console warning (fixes #9662). Also refactors backgroundCheckForUpdate()
into guard-style early returns so each condition produces its own precise log message.

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@backportbot backportbot bot requested a review from i2h3 March 31, 2026 12:42
@backportbot backportbot bot added this to the 33.0.2 milestone Mar 31, 2026
@i2h3 i2h3 merged commit 0c98b05 into stable-33.0 Mar 31, 2026
14 of 15 checks passed
@i2h3 i2h3 deleted the backport/9744/stable-33.0 branch March 31, 2026 12:42
@sonarqubecloud
Copy link
Copy Markdown

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants