|
|
@ -287,7 +287,11 @@ extension AppDelegate: NSUserNotificationCenterDelegate { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
uninstallMenuExtra() |
|
|
|
DispatchQueue.main.async { [weak self] in |
|
|
|
guard let me = self else { return } |
|
|
|
me.uninstallMenuExtra() |
|
|
|
} |
|
|
|
|
|
|
|
let filename : String = didActivate.userInfo?["filename"] as! String |
|
|
|
NSLog("pEpNotifications: actionButtonClicked for %@", filename) |
|
|
|
NSWorkspace.shared.openFile(filename) |
|
|
@ -314,7 +318,10 @@ extension AppDelegate: NSXPCListenerDelegate { |
|
|
|
extension AppDelegate: DownloadNotificationManagerDelegate { |
|
|
|
func installSelected(with product: Product) { |
|
|
|
defer { |
|
|
|
uninstallMenuExtra() |
|
|
|
DispatchQueue.main.async { [weak self] in |
|
|
|
guard let me = self else { return } |
|
|
|
me.uninstallMenuExtra() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
NSLog("pEpNotifications: actionButtonClicked for %@", product.filename) |
|
|
|