1
0
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:
2023-01-11 17:50:47 +01:00
parent 6eea08cd4f
commit 300b10c5d8

View File

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