diff options
author | ijl <ijl@mailbox.org> | 2019-05-07 15:49:22 +0000 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-05-07 15:49:22 +0000 |
commit | 864cd9b8ef2c7d708d4160756e51dfa4bab94f16 (patch) | |
tree | 7f657d89c9b7e43d919e759c51e72dca42932917 | |
parent | f3cc7c4c4e46778eedab18c4d25c7009b9bbb04f (diff) | |
download | alacritty-864cd9b8ef2c7d708d4160756e51dfa4bab94f16.tar.gz alacritty-864cd9b8ef2c7d708d4160756e51dfa4bab94f16.zip |
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.
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | extra/osx/Alacritty.app/Contents/Info.plist | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b5abc0a2..f17ddaf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/extra/osx/Alacritty.app/Contents/Info.plist b/extra/osx/Alacritty.app/Contents/Info.plist index 5cfdea9b..cdf0062b 100644 --- a/extra/osx/Alacritty.app/Contents/Info.plist +++ b/extra/osx/Alacritty.app/Contents/Info.plist @@ -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> |