mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
🐛 Fix crash with check for updates
This commit is contained in:
@ -174,8 +174,8 @@ class MainMenu: NSObject, NSWindowDelegate, NSMenuDelegate, PhpSwitcherDelegate
|
||||
NSApplication.shared.terminate(nil)
|
||||
}
|
||||
|
||||
@objc func checkForUpdates() async {
|
||||
await AppUpdateChecker.checkIfNewerVersionIsAvailable(initiatedFromBackground: false)
|
||||
@objc func checkForUpdates() {
|
||||
Task { await AppUpdateChecker.checkIfNewerVersionIsAvailable(initiatedFromBackground: false) }
|
||||
}
|
||||
|
||||
// MARK: - Menu Delegate
|
||||
|
Reference in New Issue
Block a user