Project Setup

This commit is contained in:
2026-03-06 10:26:26 +01:00
commit ae6ad9ba36
13 changed files with 940 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<Project>
<PropertyGroup>
<!-- Set if the default steam game install directory doesn't work. -->
<!-- <PeakGameRootDir></PeakGameRootDir> -->
<!-- Set if your BepInEx/plugins/ directory isn't in the game files. -->
<!-- <PeakPluginsDir></PeakPluginsDir> -->
</PropertyGroup>
<Target Name="DeployFiles" AfterTargets="Build">
<Message Text="Deploy → $(PeakPluginsDir)$(AssemblyName).dll" Importance="High" />
<Error
Text="Plugins directory '$([MSBuild]::NormalizeDirectory($(PeakPluginsDir)))' doesn't exist! Configure PeakPluginsDir to point to a valid path in the Config.Build.user.props file."
Condition="!Exists('$(PeakPluginsDir)')"
/>
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PeakPluginsDir)" />
</Target>
</Project>