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(