mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 22:43:31 +08:00
temp hack for folder plugin results
This commit is contained in:
parent
e8c142353c
commit
9191cae144
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user