blob: 405d250b9d059f5ad7b6e1e4bd0aa4c640e88d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/ares-PLACEHOLDER/desktop-ui/desktop-ui.cpp b/ares-PLACEHOLDER/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.
|