mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
now does what the previous commit was supposed to make it do, but with fewer bugs
This commit is contained in:
@@ -177,7 +177,7 @@ namespace physfs
|
||||
#ifdef WINDOWS
|
||||
return getenv("APPDATA");
|
||||
#elif defined(LOVE_MACOSX)
|
||||
std::string udir(getUserDirectory());
|
||||
std::string udir = getUserDirectory();
|
||||
udir.append("/Library/Application Support");
|
||||
return udir.c_str();
|
||||
#else
|
||||
|
||||
@@ -49,7 +49,11 @@
|
||||
# define LOVE_PATH_SEPARATOR "/"
|
||||
# define LOVE_MAX_PATH _MAX_PATH
|
||||
#else
|
||||
# define LOVE_APPDATA_FOLDER ".love"
|
||||
# ifdef LOVE_MACOSX
|
||||
# define LOVE_APPDATA_FOLDER "LOVE"
|
||||
# else
|
||||
# define LOVE_APPDATA_FOLDER ".love"
|
||||
# endif
|
||||
# define LOVE_PATH_SEPARATOR "/"
|
||||
# define LOVE_MAX_PATH MAXPATHLEN
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user