From bfd49ea01995172e621bea0f59cff30fe3165db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sun, 10 Sep 2023 14:09:09 -0300 Subject: [PATCH] User FLATPAK_ID instead of FLATPAK_ISOLATION to find out if it's running from flatpak. --- src/tools/ecode/ecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/ecode/ecode.cpp b/src/tools/ecode/ecode.cpp index b286e399d..44f0aca99 100644 --- a/src/tools/ecode/ecode.cpp +++ b/src/tools/ecode/ecode.cpp @@ -3420,7 +3420,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe #if EE_PLATFORM == EE_PLATFORM_LINUX // Is the process running from flatpak isolation for the first time? - if ( firstRun && getenv( "FLATPAK_ISOLATION" ) != NULL ) { + if ( firstRun && getenv( "FLATPAK_ID" ) != NULL ) { static const auto FLATPAK_WARN = R"xml(