mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Check for updates in background on launch
This commit is contained in:
parent
6cc2194b26
commit
3c0ab76a72
@ -18,7 +18,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
|
|
||||||
// If enabled, check for updates.
|
// If enabled, check for updates.
|
||||||
if automaticallyChecksForUpdates {
|
if automaticallyChecksForUpdates {
|
||||||
SUUpdater.shared()?.checkForUpdates(self)
|
SUUpdater.shared()?.checkForUpdatesInBackground()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user