diff --git a/Graph Views/XRGCPUView.m b/Graph Views/XRGCPUView.m index b2e9ebf..e9eb5b4 100644 --- a/Graph Views/XRGCPUView.m +++ b/Graph Views/XRGCPUView.m @@ -413,7 +413,7 @@ - (void)openCPUPreferences:(NSEvent *)theEvent { - (void)openActivityMonitor:(NSEvent *)theEvent { [NSTask launchedTaskWithLaunchPath:@"/usr/bin/open" - arguments:@[@"/Applications/Utilities/Activity Monitor.app"] + arguments:@[@"-a", @"Activity Monitor.app"] ]; } diff --git a/Graph Views/XRGDiskView.m b/Graph Views/XRGDiskView.m index aa572f2..004927c 100644 --- a/Graph Views/XRGDiskView.m +++ b/Graph Views/XRGDiskView.m @@ -438,7 +438,7 @@ - (NSMenu *)menuForEvent:(NSEvent *)theEvent { - (void)openDiskUtility:(NSEvent *)theEvent { [NSTask launchedTaskWithLaunchPath:@"/usr/bin/open" - arguments:@[@"/Applications/Utilities/Disk Utility.app"] + arguments:@[@"-a", @"Disk Utility.app"] ]; } diff --git a/Graph Views/XRGNetView.m b/Graph Views/XRGNetView.m index c058655..bedd173 100644 --- a/Graph Views/XRGNetView.m +++ b/Graph Views/XRGNetView.m @@ -371,7 +371,7 @@ - (void)openNetworkSystemPreferences:(NSEvent *)theEvent { - (void)openNetworkUtility:(NSEvent *)theEvent { [NSTask launchedTaskWithLaunchPath:@"/usr/bin/open" - arguments:@[@"/Applications/Utilities/Network Utility.app"] + arguments:@[@"-a", @"Network Utility.app"] ]; }