Added correct system preferences url to open screen capture privacy pane

This commit is contained in:
Michael Starke
2019-09-10 14:12:54 +02:00
parent eb9d15ffa5
commit 541ef6e749

View File

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