Skip to content

Make -[SPUUserDriver showUpdateInFocus] optional#2717

Merged
zorgiepoo merged 1 commit into2.xfrom
optional-showUpdateInFocus
Apr 12, 2025
Merged

Make -[SPUUserDriver showUpdateInFocus] optional#2717
zorgiepoo merged 1 commit into2.xfrom
optional-showUpdateInFocus

Conversation

@zorgiepoo
Copy link
Copy Markdown
Member

@zorgiepoo zorgiepoo commented Apr 12, 2025

When this method is not implemented, the updater assumes already presented updates cannot be brought in utmost focus again.

Fixes #2704

Misc Checklist

  • My change requires a documentation update on Sparkle's website repository
  • My change requires changes to generate_appcast, generate_keys, or sign_update

Testing

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

  • Sparkle Test App
  • Unit Tests
  • My own app
  • Other (please specify)

Tested not implementing showUpdateInFocus in standard user driver with test app, and keeping it implemented.
Tested update notice and permission prompt, and not being able to check for updates when showUpdateInFocus is not implemented.
Tested update notice and permission prompt, and not being able to check for updates when showUpdateInFocus is not implemented and canCheckForUpdates is not checked (with appropriate error message logged).

macOS version tested: 15.4 (24E248)

When this method is not implemented, the updater assumes already presented updates cannot be brought in utmost focus.
@zorgiepoo zorgiepoo added this to the 2.8 milestone Apr 12, 2025
@zorgiepoo zorgiepoo merged commit f3cd2b9 into 2.x Apr 12, 2025
2 checks passed
@zorgiepoo zorgiepoo deleted the optional-showUpdateInFocus branch April 12, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make showUpdateInFocus optional

1 participant