2022-03-09 00:39:34 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2022-07-04 14:24:13 +08:00
|
|
|
|
<Import Project="..\..\..\..\Version.props" />
|
2022-03-09 00:39:34 +08:00
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2024-04-18 17:04:25 +08:00
|
|
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
2024-04-19 15:37:15 +08:00
|
|
|
|
<LangVersion>12</LangVersion>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<ProjectGuid>{64467D32-4786-4ADD-9B77-FBF3C965D3D1}</ProjectGuid>
|
|
|
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
|
|
<RootNamespace>Community.PowerToys.Run.Plugin.Everything</RootNamespace>
|
|
|
|
|
<AssemblyName>Community.PowerToys.Run.Plugin.Everything</AssemblyName>
|
|
|
|
|
<Version>$([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)plugin.json').Split(',')[5].Split(':')[1].Trim().Trim('"'))</Version>
|
|
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
2024-04-19 15:37:15 +08:00
|
|
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
|
|
|
|
<Company>lin-ycv</Company>
|
|
|
|
|
<Copyright>Copyright (C) lin-ycv</Copyright>
|
|
|
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
2024-05-06 23:47:15 +08:00
|
|
|
|
<useWPF>true</useWPF>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2023-03-30 00:22:49 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2024-04-19 15:37:15 +08:00
|
|
|
|
<OutputPath>bin\$(Platform)\$(Configuration)\Everything\</OutputPath>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
|
|
<DebugType>full</DebugType>
|
|
|
|
|
<Optimize>false</Optimize>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2023-03-30 00:22:49 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
2024-04-19 15:37:15 +08:00
|
|
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
|
|
|
<OutputPath>bin\$(Platform)\$(Configuration)\Everything\</OutputPath>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<Optimize>true</Optimize>
|
2022-05-27 18:28:41 +08:00
|
|
|
|
<DebugType>none</DebugType>
|
2023-03-30 00:22:49 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-12-11 02:20:09 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="NativeMethods.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="plugin.json">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-08-05 18:50:49 +08:00
|
|
|
|
<ProjectReference Include="..\..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj">
|
|
|
|
|
<Private>False</Private>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\Wox.Infrastructure\Wox.Infrastructure.csproj">
|
|
|
|
|
<Private>False</Private>
|
|
|
|
|
</ProjectReference>
|
2024-05-06 23:47:15 +08:00
|
|
|
|
<ProjectReference Include="..\..\Wox.Plugin\Wox.Plugin.csproj" />
|
2022-05-18 15:19:39 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2024-06-30 11:43:30 +08:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.es-es.resx">
|
|
|
|
|
</EmbeddedResource>
|
2022-12-05 21:41:36 +08:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.de-de.resx">
|
|
|
|
|
<CustomToolNamespace>Community.PowerToys.Run.Plugin.Everything.Language</CustomToolNamespace>
|
|
|
|
|
<LastGenOutput>Resources.de.Designer.cs</LastGenOutput>
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
</EmbeddedResource>
|
2022-06-01 17:41:33 +08:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.zh-cn.resx">
|
|
|
|
|
<CustomToolNamespace>Community.PowerToys.Run.Plugin.Everything.Language</CustomToolNamespace>
|
|
|
|
|
<LastGenOutput>Resources - Copy.zh.Designer.cs</LastGenOutput>
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
</EmbeddedResource>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
2022-06-01 17:41:33 +08:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.zh.resx">
|
|
|
|
|
<CustomToolNamespace>Community.PowerToys.Run.Plugin.Everything.Language</CustomToolNamespace>
|
|
|
|
|
<LastGenOutput>Resources.zh.Designer.cs</LastGenOutput>
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
</EmbeddedResource>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="Everything64.dll">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2024-04-19 15:37:15 +08:00
|
|
|
|
<None Update="EverythingARM64.dll">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<None Update="Images\Everything.dark.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Images\Everything.ico.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Images\Everything.light.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
2022-03-09 15:22:53 +08:00
|
|
|
|
<Pack>True</Pack>
|
|
|
|
|
<PackagePath>\</PackagePath>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
</None>
|
2022-06-01 17:41:33 +08:00
|
|
|
|
<None Update="Images\file.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Images\find.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Images\folder.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-05-13 14:20:30 +08:00
|
|
|
|
<None Update="Images\NoIcon.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
<None Update="Images\Warning.dark.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Images\Warning.light.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-06-01 17:41:33 +08:00
|
|
|
|
<None Update="Images\warning.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2024-05-06 23:47:15 +08:00
|
|
|
|
<None Update="MIT.txt">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-03-09 15:22:53 +08:00
|
|
|
|
<None Update="README.md">
|
|
|
|
|
<Pack>True</Pack>
|
|
|
|
|
<PackagePath>\</PackagePath>
|
|
|
|
|
</None>
|
2022-05-06 01:53:32 +08:00
|
|
|
|
<None Update="settings.toml">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-03-09 00:39:34 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
2024-05-06 23:47:15 +08:00
|
|
|
|
<Exec Command="del /Q "$(TargetDir)*.pdb"
del /Q "$(TargetDir)PowerToys*.dll"
del /Q "$(TargetDir)Wox*.dll"
del /Q "$(TargetDir)Ijwhost.dll"
del /Q "$(TargetDir)*.xml"
del/ Q "$(TargetDir)backup_restore_settings.json"
del /Q ".\bin\CHECKSUM.txt"
copy /y ".\NSIS\MIT.txt" "$(TargetDir)LICENSE.txt"
powershell Compress-Archive -Path $(TargetDir) -DestinationPath .\bin\EverythingPT-$(Version)-x64+ARM64.zip -Force
"C:\Program Files (x86)\NSIS\makensis" /Dver=$(Version) /Ddirect=$(TargetDir) .\NSIS\exeCreator.nsi
certUtil -hashfile .\bin\EverythingPT-$(Version)-x64+ARM64.zip SHA256 >> .\bin\CHECKSUM.txt
certUtil -hashfile .\bin\EverythingPT-$(Version)-x64+ARM64.exe SHA256 >> .\bin\CHECKSUM.txt
rd /Q /S "$(TargetDir)"
rd /Q /S "$(ProjectDir)obj"" />
|
2022-11-13 23:21:17 +08:00
|
|
|
|
</Target>
|
|
|
|
|
|
2022-03-09 00:39:34 +08:00
|
|
|
|
</Project>
|