Files
GameCollections/source/GameCollections/GameCollections.csproj
T
X4Lo 089f3e0f23
Build / build (push) Canceled after 0s
Crowdin / sync (push) Canceled after 0s
feat: add collapsible header and groups, card size slider and Crowdin translations
- Add a button that collapses a collection page's header to its title, game
  count and dynamic badge. The choice is remembered for all collections.
- Make each group on a collection page collapsible, with a Collapse all /
  Expand all button next to Group by. Games hidden by a collapse leave the
  selection.
- Add a card size slider to the collection page toolbar, remembered for all
  collections.
- Match the search box and sort button height to the dropdowns.
- Add Crowdin configuration and a workflow that uploads the English strings
  and opens pull requests with new translations.
- Add CONTRIBUTING.md and a Translations section to the README.
- Run the build workflow on master instead of main.
- Bump the version to 1.3.0 and update the docs, changelog and manifest.
2026-11-06 15:59:16 +00:00

45 lines
2.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net462</TargetFramework>
<UseWPF>true</UseWPF>
<OutputType>Library</OutputType>
<RootNamespace>GameCollections</RootNamespace>
<AssemblyName>GameCollections</AssemblyName>
<LangVersion>7.3</LangVersion>
<Version>1.3.0</Version>
<Product>Game Collections</Product>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<!-- Playnite.SDK.dll is supplied by Playnite at runtime, so it is not copied to the output. -->
<PackageReference Include="PlayniteSDK" Version="6.11.0" ExcludeAssets="runtime" />
<!-- Used for data migrations. Compile-time only: Playnite supplies its own copy at runtime, so this
version has to match Playnite's and its NuGet advisory doesn't apply to anything shipped here. -->
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" ExcludeAssets="runtime" NoWarn="NU1903" />
</ItemGroup>
<ItemGroup>
<!-- Localization files are loaded by Playnite from the plugin folder, not compiled into the assembly. -->
<Page Remove="Localization\*.xaml" />
<None Include="Localization\*.xaml" CopyToOutputDirectory="PreserveNewest" />
<None Update="extension.yaml" CopyToOutputDirectory="PreserveNewest" />
<None Update="icon.png" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<!-- Creates an installable .pext package (a zip of the output folder) in <repo>\dist after Release builds.
The file name follows Playnite Toolbox's convention: <extension Id>_<version with underscores>.pext -->
<Target Name="PackPext" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<PropertyGroup>
<PextDirectory>$(MSBuildProjectDirectory)\..\..\dist</PextDirectory>
<PextPath>$(PextDirectory)\GameCollections_3f6b8d2e-5c41-4a7e-9e0b-6d2f1a8c7b54_$(Version.Replace('.', '_')).pext</PextPath>
</PropertyGroup>
<MakeDir Directories="$(PextDirectory)" />
<Delete Files="$(PextPath)" />
<ZipDirectory SourceDirectory="$(OutDir)" DestinationFile="$(PextPath)" Overwrite="true" />
</Target>
</Project>