[Scummvm-tracker] [ScummVM :: Bugs] #11428: macOS: Change default savegame location for macOS

ScummVM :: Bugs trac at scummvm.org
Thu Apr 16 01:04:37 UTC 2020


#11428: macOS: Change default savegame location for macOS
-------------------------+----------------------------
Reporter:  Thunderforge  |      Owner:  (none)
    Type:  enhancement   |     Status:  new
Priority:  normal        |  Component:  Port: Mac OS X
Keywords:  saving        |       Game:
-------------------------+----------------------------
 In response to #11427 involving all sorts of issues if users deny ScummVM
 permission to access the Documents folder, I would like to change the
 savegame location from `~/Documents/ScummVM Savegames` to
 `~/Library/Application Support/ScummVM/Savegames`, which is the
 recommended location according to
 [https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html
 Apple's developer guidelines]:

 > Contains all app-specific data and support files. These are the files
 that your app creates and manages on behalf of the user and can include
 files that contain user data.

 This will prevent new users from experiencing the issue since ScummVM will
 not need access to Documents, meaning users will not be prompted. (No
 special permissions are needed to access Application Support).

 A migration like this is similar to one performed on Windows around 2012
 in which users were directed to
 [https://github.com/scummvm/scummvm/commit/aacf57ee85346e97c9533208e13997624abc17a8
 run this script]. This was a manual process and ideally we would want to
 come up with something more elegant and automated, such as ScummVM
 detecting if a migration needs to happen for existing users while
 preventing the need to check the Documents folder for any existing users.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11428>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list