Skip to content

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

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

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

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Mar 31, 2026

Backport of #9744

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

…llyChecksForUpdates

fix(macOS): guard checkForUpdatesInBackground on Sparkle's automaticallyChecksForUpdates

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>

[skip ci]
@backportbot backportbot bot requested a review from i2h3 March 31, 2026 07:44
@backportbot backportbot bot added this to the 4.0.9 milestone Mar 31, 2026
@i2h3 i2h3 marked this pull request as ready for review March 31, 2026 07:44
@i2h3 i2h3 merged commit 11dbfc2 into stable-4.0 Mar 31, 2026
1 check passed
@i2h3 i2h3 deleted the backport/9744/stable-4.0 branch March 31, 2026 07:44
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.

1 participant