mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
windows indexer plugin is working
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Wox.Plugin.Indexer
|
|||||||
results.Add(new Result
|
results.Add(new Result
|
||||||
{
|
{
|
||||||
// TODO: Localize the string
|
// TODO: Localize the string
|
||||||
Title = "Windows indexer plugin is not running",
|
Title = ex.ToString(),
|
||||||
IcoPath = "Images\\WindowsIndexerImg.bmp"
|
IcoPath = "Images\\WindowsIndexerImg.bmp"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,10 +32,12 @@ namespace Wox.Plugin.Indexer.SearchHelper
|
|||||||
while (WDSResults.Read())
|
while (WDSResults.Read())
|
||||||
{
|
{
|
||||||
// col 0 is our path in display format
|
// col 0 is our path in display format
|
||||||
Console.WriteLine("{0}", WDSResults.GetString(0));
|
if (WDSResults.GetString(0) != null)
|
||||||
var result = new SearchResult { Path = WDSResults.GetString(0) };
|
{
|
||||||
|
//Console.WriteLine("{0}", WDSResults.GetString(0));
|
||||||
yield return result;
|
var result = new SearchResult { Path = WDSResults.GetString(0) };
|
||||||
|
yield return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
|
<ProjectGuid>{F8B870EB-D5F5-45BA-9CF7-A5C459818820}</ProjectGuid>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>Wox.Plugin.Indexer</RootNamespace>
|
||||||
|
<AssemblyName>Wox.Plugin.Indexer</AssemblyName>
|
||||||
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
@@ -48,4 +55,8 @@
|
|||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Properties\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -68,9 +68,11 @@
|
|||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="PropertyChanged.Fody" Version="3.2.6" />
|
<PackageReference Include="PropertyChanged.Fody" Version="3.2.6" />
|
||||||
|
<PackageReference Include="System.Data.OleDb" Version="5.0.0-preview.2.20160.6" />
|
||||||
<PackageReference Include="System.Data.SQLite" Version="1.0.112" />
|
<PackageReference Include="System.Data.SQLite" Version="1.0.112" />
|
||||||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.112" />
|
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.112" />
|
||||||
<PackageReference Include="System.Runtime" Version="4.3.1" />
|
<PackageReference Include="System.Runtime" Version="4.3.1" />
|
||||||
|
<PackageReference Include="tlbimp-Microsoft.Search.Interop" Version="1.0.0" />
|
||||||
<PackageReference Include="UnidecodeSharp" Version="1.0.0" />
|
<PackageReference Include="UnidecodeSharp" Version="1.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user