diff --git a/src/engines.cpp b/src/engines.cpp index 0ce37437..0ed931cf 100644 --- a/src/engines.cpp +++ b/src/engines.cpp @@ -194,7 +194,12 @@ static QString _executableFullPath( const QString& f,Function function ) auto list = function() ; - list.prepend( engines::defaultBinPath() ) ; + if( utility::platformIsFlatPak() ){ + + list.prepend( engines::defaultBinPath() ) ; + + list.removeAll( "/app/bin" ) ; + } for( const auto& it : utility::asConst( list ) ){