Stub out basic checking for updates in AppDelegate

This commit is contained in:
Angelo Stavrow 2020-12-22 17:02:56 -05:00
parent 03df62a48c
commit a9eea94d4e
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -1,7 +1,13 @@
import Cocoa
import Sparkle
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ notification: Notification) {
SUUpdater.shared()?.automaticallyChecksForUpdates = true
/*
Next line prints:
You must specify the URL of the appcast as the SUFeedURL key in either the Info.plist or the user defaults!
*/
SUUpdater.shared()?.checkForUpdates(self)
}
}