mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-21 18:59:32 +00:00
Added correct system preferences url to open screen capture privacy pane
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user