Skip to content

Commit 999c078

Browse files
Core: Check for updates on startup
1 parent e4d0d60 commit 999c078

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,6 +1801,9 @@ final class MenuBarAppDelegate: NSObject, NSApplicationDelegate, SPUUpdaterDeleg
18011801
updaterController?.updater.clearFeedURLFromUserDefaults()
18021802
applySelectedUpdateChannelToSparkle()
18031803
buildMenuBar()
1804+
1805+
// Trigger an update check at startup.
1806+
updaterController?.updater.checkForUpdatesInBackground()
18041807
}
18051808

18061809
private func buildMenuBar() {

0 commit comments

Comments
 (0)