mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Properly place config files in .../imhex/config on Linux
This commit is contained in:
@@ -137,11 +137,8 @@ namespace hex::fs {
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
for (auto &path : paths) {
|
||||
for (auto &path : paths)
|
||||
path = path / "imhex";
|
||||
}
|
||||
|
||||
|
||||
#if defined(OS_MACOS)
|
||||
|
||||
@@ -175,6 +172,9 @@ namespace hex::fs {
|
||||
auto dataDirs = xdg::DataDirs();
|
||||
std::copy(dataDirs.begin(), dataDirs.end(), std::back_inserter(paths));
|
||||
|
||||
for (auto &path : paths)
|
||||
path = path / "imhex";
|
||||
|
||||
return paths;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user