mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-21 15:32:18 +00:00
Update UnleashedRecomp/user/config.cpp
Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
This commit is contained in:
parent
026a161bda
commit
ceeb831436
1 changed files with 5 additions and 1 deletions
|
|
@ -4,7 +4,11 @@
|
||||||
#include <user/paths.h>
|
#include <user/paths.h>
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
const bool g_isRunningUnderFlatpak = std::filesystem::exists("/.flatpak-info");
|
const bool g_isRunningUnderFlatpak = []()
|
||||||
|
{
|
||||||
|
std::error_code ec;
|
||||||
|
return std::filesystem::exists("/.flatpak-info", ec);
|
||||||
|
}();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::vector<IConfigDef*> g_configDefinitions;
|
std::vector<IConfigDef*> g_configDefinitions;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue