Enables check for updates
This commit is contained in:
parent
0904ff519f
commit
995278ac58
|
@ -65,7 +65,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
||||||
private let appNewsURLString = "https://nnw.ranchero.com/feed.json"
|
private let appNewsURLString = "https://nnw.ranchero.com/feed.json"
|
||||||
private let appMovementMonitor = RSAppMovementMonitor()
|
private let appMovementMonitor = RSAppMovementMonitor()
|
||||||
#if !MAC_APP_STORE && !TEST
|
#if !MAC_APP_STORE && !TEST
|
||||||
private var softwareUpdater: SPUUpdater!
|
var softwareUpdater: SPUUpdater!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
override init() {
|
override init() {
|
||||||
|
|
|
@ -49,5 +49,9 @@
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
|
<key>SUFeedURL</key>
|
||||||
|
<string>https://ranchero.com/downloads/netnewswire-5.1-beta.xml</string>
|
||||||
|
<key>FeedURLForTestBuilds</key>
|
||||||
|
<string>https://ranchero.com/downloads/netnewswire-5.1-beta.xml</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -25,7 +25,9 @@ struct AdvancedPreferencesView: View {
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
Button("Check for Updates", action: {})
|
Button("Check for Updates") {
|
||||||
|
appDelegate.softwareUpdater.checkForUpdates()
|
||||||
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
}.padding(.bottom, 8)
|
}.padding(.bottom, 8)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue