mac: set config path in options.cc

This commit is contained in:
Richard Barber
2020-02-16 20:21:07 -08:00
parent 8b1438f23d
commit d8d96784a4
3 changed files with 10 additions and 5 deletions

View File

@@ -2270,8 +2270,12 @@ void Options::load(bool lightweight)
const gchar* path;
Glib::ustring dPath;
#ifdef __APPLE__
path = g_getenv("HOME") + "Library/Application Support/RawTherapee/config";
#else
path = g_getenv("RT_SETTINGS");
#endif
if (path != nullptr) {
rtdir = Glib::ustring(path);