Files
ClientModLoader/Plugin.ClientModLoader/Plugin.ClientModLoader.csproj
pas2704 5f4d306f6c
All checks were successful
Build / Compute Version (push) Successful in 5s
Build / Build Nuget package (push) Successful in 3m39s
Add support for mod thumbnails
2025-06-07 16:31:14 -04:00

41 lines
1.7 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<UseWindowsForms>True</UseWindowsForms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<RestoreAdditionalProjectSources>https://ng.zznty.ru/v3/index.json</RestoreAdditionalProjectSources>
<EnableDynamicLoading>true</EnableDynamicLoading>
<PackageType>CringePlugin</PackageType>
<Authors>zznty</Authors>
<PackageId>Plugin.ClientModLoader</PackageId>
<AssemblyName>Plugin.ClientModLoader</AssemblyName>
<Title>Client Mod Loader</Title>
<Description>This plugin allows players to load client side mods when joining servers</Description>
<PackageProjectUrl>https://git.zznty.ru/PvE/ClientModLoader</PackageProjectUrl>
<RepositoryUrl>https://git.zznty.ru/PvE/ClientModLoader</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CringePlugins" Version="*" ExcludeAssets="runtime; native"/>
</ItemGroup>
<Target Name="CopyFiles" AfterTargets="PostBuildEvent">
<PropertyGroup>
<AppdataPath>$([System.Environment]::GetFolderPath(SpecialFolder.ApplicationData))</AppdataPath>
</PropertyGroup>
<ItemGroup>
<OutputFiles Include="$(OutputPath)\*" />
</ItemGroup>
<Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(AppdataPath)\CringeLauncher\plugins\$(ProjectName)" OverwriteReadOnlyFiles="true" />
</Target>
</Project>