Update to build system so people can build in release mode without needing signing

This commit is contained in:
Martin Barker
2023-02-24 01:53:01 +00:00
parent 767c2ddad2
commit 45d41e11f4
6 changed files with 628 additions and 15 deletions

View File

@@ -22,6 +22,8 @@
<PackageTags>twitch, notifications</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Configurations>Debug;Release;ReleaseSign</Configurations>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
@@ -50,7 +52,7 @@
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="powershell -command &quot;if('$(ConfigurationName)' -eq 'Release'){ cd $(TargetDir); ./sign.ps1}&quot;" />
<Exec Command="powershell -command &quot;if('$(ConfigurationName)' -eq 'ReleaseSign'){ cd $(TargetDir); ./sign.ps1}&quot;" />
</Target>
</Project>