mirror of
https://github.com/TheJordanDev/PEAK-JordanMod.git
synced 2026-10-16 23:56:44 +02:00
Project Setup
This commit is contained in:
19
Config.Build.user.props.template
Normal file
19
Config.Build.user.props.template
Normal 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>
|
||||
Reference in New Issue
Block a user