summaryrefslogtreecommitdiff
path: root/hw/xquartz
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-06-26 10:31:54 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-06-26 13:25:03 -0700
commit9ce7264889e36fddbdf6bac332225ad6f628ad5d (patch)
tree7b53980853f428ada632e06c324467212b72b0e3 /hw/xquartz
parentb00cf4aef881e00533f995c141c3586749cd7ca1 (diff)
downloadxserver-9ce7264889e36fddbdf6bac332225ad6f628ad5d.tar.gz
XQuartz: Add TCC reason keys to Info.plist
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'hw/xquartz')
-rw-r--r--hw/xquartz/bundle/Info.plist.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/hw/xquartz/bundle/Info.plist.cpp b/hw/xquartz/bundle/Info.plist.cpp
index 323dec205..7cb59ea77 100644
--- a/hw/xquartz/bundle/Info.plist.cpp
+++ b/hw/xquartz/bundle/Info.plist.cpp
@@ -28,6 +28,31 @@
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
+
+ <!-- Add generic usage descriptions for TCC
+ https://github.com/XQuartz/XQuartz/issues/245
+ -->
+ <key>NSAppleEventsUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants to use AppleScript.</string>
+ <key>NSCalendarsUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your calendar data.</string>
+ <key>NSCameraUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your camera.</string>
+ <key>NSContactsUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your contacts.</string>
+ <key>NSLocationAlwaysUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your location information, even when not in use.</string>
+ <key>NSLocationUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your location information.</string>
+ <key>NSLocationWhenInUseUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your location information when in use.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your microphone.</string>
+ <key>NSRemindersUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants access to your reminders.</string>
+ <key>NSSystemAdministrationUsageDescription</key>
+ <string>A process launched by APPLE_APPLICATION_NAME wants admin privileges.</string>
+
#ifdef XQUARTZ_SPARKLE
<key>SUEnableAutomaticChecks</key>
<true/>