AppDelegate // Merge method checkForUpdate().

This commit is contained in:
ShikiSuen 2022-05-21 11:17:35 +08:00
parent f0bb232d35
commit b781400f45
1 changed files with 1 additions and 5 deletions

View File

@ -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