This commit is contained in:
Lin Yu-Chieh (Victor) 2022-03-09 15:22:53 +08:00
parent e583ebf872
commit db46a2d2b8
4 changed files with 10 additions and 13 deletions

View File

@ -14,6 +14,9 @@
<Platforms>x64</Platforms>
<NeutralLanguage>en-US</NeutralLanguage>
<Authors>Yu Chieh (Victor) Lin</Authors>
<PackageProjectUrl>https://github.com/lin-ycv/EverythingPowerToys</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>Everything.light.png</PackageIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@ -107,6 +110,8 @@
</None>
<None Update="Images\Everything.light.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Update="Images\Warning.dark.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@ -114,6 +119,10 @@
<None Update="Images\Warning.light.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">

Binary file not shown.

Binary file not shown.

View File

@ -73,19 +73,7 @@ namespace Community.PowerToys.Run.Plugin.Everything
DATE_RUN_DESCENDING,
}
[StructLayout(LayoutKind.Sequential)]
internal struct SHFILEINFO
{
internal IntPtr hIcon;
internal int iIcon;
internal int dwAttributes;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
internal string szDisplayName;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 80)]
internal string szTypeName;
}
internal const string dllName = "Everything64.dll"; // Included dll is a modified file without locking, if this creates issues, replace with official dll
internal const string dllName = "Everything64.dll";
#pragma warning disable SA1516 // Elements should be separated by blank line
[DllImport(dllName)]