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)
}
func checkForUpdate() {
checkForUpdate(forced: false)
}
func checkForUpdate(forced: Bool) {
func checkForUpdate(forced: Bool = false) {
if checkTask != nil {
// busy
return