From 541ef6e749c76cca539d41e1ea11e86e6d9aeec0 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Tue, 10 Sep 2019 14:12:54 +0200 Subject: [PATCH] Added correct system preferences url to open screen capture privacy pane --- MacPass/MPAutotypeDoctor.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MacPass/MPAutotypeDoctor.m b/MacPass/MPAutotypeDoctor.m index d04bdf8d..ba83799f 100644 --- a/MacPass/MPAutotypeDoctor.m +++ b/MacPass/MPAutotypeDoctor.m @@ -104,8 +104,7 @@ } - (void)openScreenRecordingPreferences { - //TODO fix this in macOS 10.15 to use the correct URL - [NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:@"x-apple.systempreferences:com.apple.preference.security"]]; + [NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:@"x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture"]]; } - (void)openAutomationPreferences {