Add display of all loaded applications

This commit is contained in:
Jeremy Wu
2019-09-06 08:06:51 +10:00
parent f51c391e84
commit 9d3f0d45d5
7 changed files with 43 additions and 10 deletions

View File

@@ -207,12 +207,12 @@ namespace Wox.Plugin.Program.Programs
if(enableProgramSourceOnly)
return applications
.Where(t1 => applicationsToRetainPaths
.Any(x => x.LocationFile == t1.Package.Location
&& x.EnableIndexing))
.Any(x => x.Location == t1.Package.Location
&& x.Enabled))
.Select(t1 => t1).ToArray();
// Do not return if the application is disabled for indexing
return applications.Where(t1 => !applicationsToRetainPaths.Any(x => x.LocationFile == t1.Package.Location && !x.EnableIndexing))
return applications.Where(t1 => !applicationsToRetainPaths.Any(x => x.Location == t1.Package.Location && !x.Enabled))
.Select(t1 => t1).ToArray();
}