app: Do not create separate local data dir on macOS
Closes #13079 We don't know if ~/Library/Caches (NSCachesDirectory) is the practical equivalent of $XDG_CACHE_HOME on Linux or %LocalAppData% on Windows so let's just drop 3.00 for now.
This commit is contained in:
parent
51547d427a
commit
d055c0fbd1
1 changed files with 2 additions and 2 deletions
|
|
@ -446,8 +446,8 @@ gimp_macos_setenv (const char * progname)
|
|||
g_free (tmp);
|
||||
if (g_getenv ("HOME") != NULL)
|
||||
{
|
||||
tmp = g_strdup_printf ("%s/Library/Application Support/GIMP/3.00/cache",
|
||||
g_getenv ("HOME"));
|
||||
tmp = g_strdup_printf ("%s/Library/Application Support/GIMP/%s/cache",
|
||||
g_getenv ("HOME"), GIMP_APP_VERSION);
|
||||
g_setenv ("XDG_CACHE_HOME", tmp, TRUE);
|
||||
g_free (tmp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue