blob: 499e71911b332f5bc9d52143d370f3527e1feef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/ares/desktop-ui/desktop-ui.cpp b/ares/desktop-ui/desktop-ui.cpp
@@ -32,6 +32,11 @@
#if !defined(PLATFORM_WINDOWS)
string shared_location = {Path::sharedData(), "ares/", name};
if(inode::exists(shared_location)) return shared_location;
+
+ // XXX: Change settings.bml location to match Ares' default behavior.
+ if(directory::exists({Path::userSettings(), "ares/"})) {
+ file::copy({Path::userSettings(), "ares/settings.bml"}, {Path::userData(), "ares/settings.bml"});
+ }
// On non-windows platforms, after exhausting other options,
// default to userData.
|