mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-04 06:00:23 +00:00
Only bail on config if linux
This commit is contained in:
parent
c3e5fc7496
commit
707d69cab4
@ -67,14 +67,15 @@ static void enumerate_config_files(std::vector<std::string>& paths) {
|
|||||||
const std::string config_dir = get_config_dir();
|
const std::string config_dir = get_config_dir();
|
||||||
|
|
||||||
const std::string program_name = get_program_name();
|
const std::string program_name = get_program_name();
|
||||||
|
#ifdef __gnu_linux__
|
||||||
if (config_dir.empty()) {
|
if (config_dir.empty()) {
|
||||||
// If we can't find 'HOME' just abandon hope.
|
// If we can't find 'HOME' just abandon hope.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
paths.push_back(config_dir + mangohud_dir + "MangoHud.conf");
|
paths.push_back(config_dir + mangohud_dir + "MangoHud.conf");
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
paths.push_back("C:\\mangohud\\MangoHud.conf");
|
paths.push_back("C:\\mangohud\\MangoHud.conf");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user