Skip to content

Commit

Permalink
use a single path to find executables in flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Oct 5, 2024
1 parent f3291de commit 75f9b1f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/engines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ){

Expand Down

0 comments on commit 75f9b1f

Please sign in to comment.