1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Add NSSystemAdministrationUsageDescription to macOS manifest

This resolves permission failures when modifying root-owned files
and such, e.g., modifying /etc/hosts. It had been possible
to work around this by adding alacritty to the set of
applications with "Full Disk Access" in System Preferences. macOS
now opens a prompt to confirm permission with a new installation.

This fixes #2337.
This commit is contained in:
ijl 2019-05-07 15:49:22 +00:00 committed by Christian Duerr
parent f3cc7c4c4e
commit 864cd9b8ef
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Packaging
- The xclip dependency has been removed
- On macOS, Alacritty now requests NSSystemAdministrationUsageDescription to
avoid permission failures
### Added

View file

@ -52,5 +52,7 @@
<string>An application in Alacritty would like to access your microphone.</string>
<key>NSRemindersUsageDescription</key>
<string>An application in Alacritty would like to access your reminders.</string>
<key>NSSystemAdministrationUsageDescription</key>
<string>An application in Alacritty requires elevated permissions.</string>
</dict>
</plist>