mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-21 15:32:18 +00:00
Applied suggestion to check for the ./flatpak-info file
This commit is contained in:
parent
90c5795a18
commit
026a161bda
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue