mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
now uses the proper appdata directory on Mac OS X
This commit is contained in:
@@ -176,6 +176,10 @@ namespace physfs
|
||||
{
|
||||
#ifdef WINDOWS
|
||||
return getenv("APPDATA");
|
||||
#elif defined(LOVE_MACOSX)
|
||||
std::string udir(getUserDirectory());
|
||||
udir.append("/Library/Application Support");
|
||||
return udir.c_str();
|
||||
#else
|
||||
return getUserDirectory();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user