mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-12 05:50:07 +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)
|
NSApplication.shared.terminate(nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func checkForUpdates() async {
|
@objc func checkForUpdates() {
|
||||||
await AppUpdateChecker.checkIfNewerVersionIsAvailable(initiatedFromBackground: false)
|
Task { await AppUpdateChecker.checkIfNewerVersionIsAvailable(initiatedFromBackground: false) }
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Menu Delegate
|
// MARK: - Menu Delegate
|
||||||
|
Reference in New Issue
Block a user