Skip to content

Commit

Permalink
OSX: implement AGSMac::GetUserGlobalConfigDirectory()
Browse files Browse the repository at this point in the history
This routes global ags config to "Library/Application Support/uk.co.adventuregamestudio/",
I believe this is where it was supposed to be located.
  • Loading branch information
ivan-mogilko committed Dec 20, 2024
1 parent 5628477 commit 85c197e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Engine/platform/osx/acplmac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ struct AGSMac : AGSPlatformDriver {
FSLocation GetUserSavedgamesDirectory() override;
FSLocation GetAllUsersDataDirectory() override;
FSLocation GetUserConfigDirectory() override;
FSLocation GetUserGlobalConfigDirectory() override;
FSLocation GetAppOutputDirectory() override;
const char *GetIllegalFileChars() override;
};
Expand Down Expand Up @@ -103,6 +104,11 @@ FSLocation AGSMac::GetUserConfigDirectory()
return FSLocation(libraryApplicationSupport);
}

FSLocation AGSMac::GetUserGlobalConfigDirectory()
{
return commonDataPath;
}

FSLocation AGSMac::GetAppOutputDirectory()
{
return commonDataPath;
Expand Down

0 comments on commit 85c197e

Please sign in to comment.