diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index df9d38b..4e13ddb 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -495,13 +495,7 @@ namespace linuxdeploy { } std::vector AppDir::deployedExecutablePaths() { - auto paths = listFilesInDirectory(path() / "usr/bin/", false); - - paths.erase(std::remove_if(paths.begin(), paths.end(), [](const bf::path& path) { - return !bf::is_regular_file(path); - }), paths.end()); - - return paths; + return listFilesInDirectory(path() / "usr/bin/", false); } std::vector AppDir::deployedDesktopFiles() {