mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
temp hack for folder plugin results
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Wox.Plugin.Folder
|
|||||||
context.API.ChangeQuery(item.Path + (item.Path.EndsWith("\\")? "": "\\"));
|
context.API.ChangeQuery(item.Path + (item.Path.EndsWith("\\")? "": "\\"));
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
ContextData = item
|
ContextData = item,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
if (driverNames != null && !driverNames.Any(input.StartsWith))
|
if (driverNames != null && !driverNames.Any(input.StartsWith))
|
||||||
@@ -87,6 +87,12 @@ namespace Wox.Plugin.Folder
|
|||||||
//}
|
//}
|
||||||
results.AddRange(QueryInternal_Directory_Exists(input));
|
results.AddRange(QueryInternal_Directory_Exists(input));
|
||||||
|
|
||||||
|
// todo temp hack for scores
|
||||||
|
foreach (var result in results)
|
||||||
|
{
|
||||||
|
result.Score += 10;
|
||||||
|
}
|
||||||
|
|
||||||
return results;
|
return results;
|
||||||
} private void InitialDriverList()
|
} private void InitialDriverList()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user