alacritty

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 864cd9b8ef2c7d708d4160756e51dfa4bab94f16
parent f3cc7c4c4e46778eedab18c4d25c7009b9bbb04f
Author: ijl <ijl@mailbox.org>
Date:   Tue,  7 May 2019 15:49:22 +0000

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.
Diffstat:
MCHANGELOG.md | 2++
Mextra/osx/Alacritty.app/Contents/Info.plist | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git 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 @@ -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>