[Scummvm-git-logs] scummvm master -> ac83b1d08cca7be00a1ec7af9366f9e0a64603ff
criezy
criezy at scummvm.org
Tue Jan 28 22:57:01 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ac83b1d08c MACOSX: Add Documents folder usage string in Info.plist
Commit: ac83b1d08cca7be00a1ec7af9366f9e0a64603ff
https://github.com/scummvm/scummvm/commit/ac83b1d08cca7be00a1ec7af9366f9e0a64603ff
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-01-28T22:56:28Z
Commit Message:
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.
Changed paths:
dists/macosx/Info.plist
dists/macosx/Info.plist.in
diff --git a/dists/macosx/Info.plist b/dists/macosx/Info.plist
index 8de6a14..c9af2f5 100644
--- a/dists/macosx/Info.plist
+++ b/dists/macosx/Info.plist
@@ -72,8 +72,10 @@
<string>faYfM+DGPgJCrRzpxSHoFD0rzHa6ZnnEXuzz2E7ZRUk=</string>
<key>NSDockTilePlugIn</key>
<string>scummvm.docktileplugin</string>
- <key>NSRequiresAquaSystemAppearance</key>
- <false/>
+ <key>NSRequiresAquaSystemAppearance</key>
+ <false/>
+ <key>NSDocumentsFolderUsageDescription</key>
+ <string>ScummVM saves and loads savegames in the Documents folder by default.</string>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>
</dict>
diff --git a/dists/macosx/Info.plist.in b/dists/macosx/Info.plist.in
index 7801918..c3b49e1 100644
--- a/dists/macosx/Info.plist.in
+++ b/dists/macosx/Info.plist.in
@@ -72,8 +72,10 @@
<string>faYfM+DGPgJCrRzpxSHoFD0rzHa6ZnnEXuzz2E7ZRUk=</string>
<key>NSDockTilePlugIn</key>
<string>scummvm.docktileplugin</string>
- <key>NSRequiresAquaSystemAppearance</key>
- <false/>
+ <key>NSRequiresAquaSystemAppearance</key>
+ <false/>
+ <key>NSDocumentsFolderUsageDescription</key>
+ <string>ScummVM saves and loads savegames in the Documents folder by default.</string>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>
</dict>
More information about the Scummvm-git-logs
mailing list