Skip to content

feat: add Check for Updates button to main menu (closes #97)#148

Open
marcm0de wants to merge 1 commit intookwasniewski:mainfrom
marcm0de:feat/check-for-updates-menu
Open

feat: add Check for Updates button to main menu (closes #97)#148
marcm0de wants to merge 1 commit intookwasniewski:mainfrom
marcm0de:feat/check-for-updates-menu

Conversation

@marcm0de
Copy link

Summary

Closes #97 — adds a Check for Updates… item to the main menu bar dropdown.

Changes

  • MainMenuActions.swift: Added checkForUpdates case, positioned between clearDerrivedData and preferences
  • MiniSim.swift: Added SPUStandardUpdaterController instance and handles the new .checkForUpdates case in menuItemAction()

How it works

Uses the existing Sparkle framework that was already integrated in the About view. The SPUStandardUpdaterController is initialized once in MiniSim and triggers checkForUpdates() when the menu item is clicked.

Before/After

Before: Users had to open Preferences → About to check for updates
After: "Check for Updates…" is available directly in the menu bar dropdown

Added a 'Check for Updates…' item to the main menu bar dropdown,
positioned between 'Clear Xcode Derived Data' and 'Preferences'.

Uses the existing Sparkle updater framework (SPUStandardUpdaterController)
that was already integrated in the About view. This gives users a
quick way to check for updates without opening Preferences > About.
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.

New feature: add check for updates button to the Main menu

1 participant