temp hack for folder plugin results

This commit is contained in:
bao-qian 2016-05-05 16:30:56 +01:00
parent e8c142353c
commit 9191cae144

View File

@ -74,7 +74,7 @@ namespace Wox.Plugin.Folder
context.API.ChangeQuery(item.Path + (item.Path.EndsWith("\\")? "": "\\"));
return false;
},
ContextData = item
ContextData = item,
}).ToList();
if (driverNames != null && !driverNames.Any(input.StartsWith))
@ -87,6 +87,12 @@ namespace Wox.Plugin.Folder
//}
results.AddRange(QueryInternal_Directory_Exists(input));
// todo temp hack for scores
foreach (var result in results)
{
result.Score += 10;
}
return results;
} private void InitialDriverList()
{