mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Stub out basic checking for updates in AppDelegate
This commit is contained in:
parent
03df62a48c
commit
a9eea94d4e
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user