From 6fa2c2eb6b439ce7d38e34caf5ff85a92aa79ade Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Tue, 28 Jan 2020 22:41:09 +0000 Subject: [PATCH] MACOSX: Add Documents folder usage string in Info.plist On macOS Catalina, the application needs to ask for permissions to access some folders, such as the Desktop, Downloads, and Documents folder. It for example asks for permission when listing files in one of those folders or trying to read a file that was created by another application and not selected using the system Open panel. Since the default savegame path on macOS is in the Documents folder it will ask for permissions to access this folder when we open the Load Game dialog or try to load a savegame that was copied there manually). So, while not required, it seems a good idea to provide an explanation why ScummVM wants access to the Documents folder. --- dists/macosx/Info.plist | 2 ++ dists/macosx/Info.plist.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dists/macosx/Info.plist b/dists/macosx/Info.plist index d0edffad097..16882dbb431 100644 --- a/dists/macosx/Info.plist +++ b/dists/macosx/Info.plist @@ -58,5 +58,7 @@ residualvm.docktileplugin NSRequiresAquaSystemAppearance + NSDocumentsFolderUsageDescription + ResidualVM saves and loads savegames in the Documents folder by default. diff --git a/dists/macosx/Info.plist.in b/dists/macosx/Info.plist.in index d0a3324daf4..d941b51dedb 100644 --- a/dists/macosx/Info.plist.in +++ b/dists/macosx/Info.plist.in @@ -58,5 +58,7 @@ residualvm.docktileplugin NSRequiresAquaSystemAppearance + NSDocumentsFolderUsageDescription + ResidualVM saves and loads savegames in the Documents folder by default.