Applied suggestion to check for the ./flatpak-info file

This commit is contained in:
Jujstme 2025-03-22 10:20:33 +01:00
parent 90c5795a18
commit 026a161bda

View file

@ -4,7 +4,7 @@
#include <user/paths.h>
#if defined(__linux__)
const bool g_isRunningUnderFlatpak = getenv("FLATPAK_ID") != nullptr;
const bool g_isRunningUnderFlatpak = std::filesystem::exists("/.flatpak-info");
#endif
std::vector<IConfigDef*> g_configDefinitions;