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)
|
NSApp.setActivationPolicy(.accessory)
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkForUpdate() {
|
func checkForUpdate(forced: Bool = false) {
|
||||||
checkForUpdate(forced: false)
|
|
||||||
}
|
|
||||||
|
|
||||||
func checkForUpdate(forced: Bool) {
|
|
||||||
if checkTask != nil {
|
if checkTask != nil {
|
||||||
// busy
|
// busy
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue