From 08cb81357dae2e9ecce33cba1a627b9dbc09af04 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 19 Aug 2024 00:22:00 +0100 Subject: [PATCH] Only return YES when we actually handled a user activity --- Hammerspoon/MJAppDelegate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Hammerspoon/MJAppDelegate.m b/Hammerspoon/MJAppDelegate.m index ffac3b368..b8459e534 100644 --- a/Hammerspoon/MJAppDelegate.m +++ b/Hammerspoon/MJAppDelegate.m @@ -137,8 +137,9 @@ - (BOOL)application:(NSApplication *)application //NSLog(@"Open URL in NSUserActivityTypeBrowsingWeb"); if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) { [[NSWorkspace sharedWorkspace] openURL:userActivity.webpageURL]; + return YES; } - return YES; + return NO; }