diff --git a/Multiplatform/macOS/AppDelegate.swift b/Multiplatform/macOS/AppDelegate.swift index 2ad541197..cd4e7df12 100644 --- a/Multiplatform/macOS/AppDelegate.swift +++ b/Multiplatform/macOS/AppDelegate.swift @@ -65,7 +65,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele private let appNewsURLString = "https://nnw.ranchero.com/feed.json" private let appMovementMonitor = RSAppMovementMonitor() #if !MAC_APP_STORE && !TEST - private var softwareUpdater: SPUUpdater! + var softwareUpdater: SPUUpdater! #endif override init() { diff --git a/Multiplatform/macOS/Info.plist b/Multiplatform/macOS/Info.plist index 0d9d0860c..ec33c4818 100644 --- a/Multiplatform/macOS/Info.plist +++ b/Multiplatform/macOS/Info.plist @@ -49,5 +49,9 @@ + SUFeedURL + https://ranchero.com/downloads/netnewswire-5.1-beta.xml + FeedURLForTestBuilds + https://ranchero.com/downloads/netnewswire-5.1-beta.xml diff --git a/Multiplatform/macOS/Preferences/Preference Panes/Advanced/AdvancedPreferencesView.swift b/Multiplatform/macOS/Preferences/Preference Panes/Advanced/AdvancedPreferencesView.swift index 800514cf0..35f0dbaf2 100644 --- a/Multiplatform/macOS/Preferences/Preference Panes/Advanced/AdvancedPreferencesView.swift +++ b/Multiplatform/macOS/Preferences/Preference Panes/Advanced/AdvancedPreferencesView.swift @@ -25,7 +25,9 @@ struct AdvancedPreferencesView: View { HStack { Spacer() - Button("Check for Updates", action: {}) + Button("Check for Updates") { + appDelegate.softwareUpdater.checkForUpdates() + } Spacer() }.padding(.bottom, 8)