AppDelegate // Merge method checkForUpdate().
This commit is contained in:
parent
f0bb232d35
commit
b781400f45
|
@ -105,11 +105,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega
|
|||
NSApp.setActivationPolicy(.accessory)
|
||||
}
|
||||
|
||||
func checkForUpdate() {
|
||||
checkForUpdate(forced: false)
|
||||
}
|
||||
|
||||
func checkForUpdate(forced: Bool) {
|
||||
func checkForUpdate(forced: Bool = false) {
|
||||
if checkTask != nil {
|
||||
// busy
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue