From 707d69cab4f528371830c96f7ccf0edea9bca187 Mon Sep 17 00:00:00 2001 From: flightlessmango Date: Tue, 16 Mar 2021 11:12:04 +0100 Subject: [PATCH] Only bail on config if linux --- src/config.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 616594b..548b166 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -67,14 +67,15 @@ static void enumerate_config_files(std::vector& paths) { const std::string config_dir = get_config_dir(); const std::string program_name = get_program_name(); - +#ifdef __gnu_linux__ if (config_dir.empty()) { // If we can't find 'HOME' just abandon hope. return; } +#endif paths.push_back(config_dir + mangohud_dir + "MangoHud.conf"); - + #ifdef _WIN32 paths.push_back("C:\\mangohud\\MangoHud.conf"); #endif