mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
temp hack for folder plugin results
This commit is contained in:
parent
e8c142353c
commit
9191cae144
1 changed files with 7 additions and 1 deletions
|
|
@ -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 a new issue