Compare commits

..

No commits in common. "725bbf473fc9cb6a2c6c638cc0ea645986cad076" and "a13d30f0b2a4fbd16ef1608805c24714a1b99590" have entirely different histories.

6 changed files with 10 additions and 22 deletions

View file

@ -26,11 +26,5 @@ namespace MosswartMassacre
// Int64 property keys
internal const int AvailableLuminanceKey = 6;
internal const int MaximumLuminanceKey = 7;
/// <summary>
/// Plugin version derived from assembly version (CalVer: YYYY.M.D.HHmm)
/// </summary>
public static string PluginVersion =>
typeof(Constants).Assembly.GetName().Version.ToString();
}
}

View file

@ -388,16 +388,4 @@
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
</Target>
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
<!-- Auto-generate CalVer version: YYYY.M.D.HHmm -->
<Target Name="SetCalVer" BeforeTargets="CoreCompile">
<PropertyGroup>
<CalVerVersion>$([System.DateTime]::UtcNow.ToString("yyyy.M.d.HHmm"))</CalVerVersion>
<CalVerFile>$(IntermediateOutputPath)CalVer.cs</CalVerFile>
</PropertyGroup>
<WriteLinesToFile File="$(CalVerFile)" Overwrite="true"
Lines="using System.Reflection%3B;[assembly: AssemblyVersion(&quot;$(CalVerVersion)&quot;)];[assembly: AssemblyFileVersion(&quot;$(CalVerVersion)&quot;)]" />
<ItemGroup>
<Compile Include="$(CalVerFile)" />
</ItemGroup>
</Target>
</Project>

View file

@ -21,4 +21,10 @@ using System.Runtime.InteropServices;
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("9b6a07e1-ae78-47f4-b09c-174f6a27d7a3")]
// Version is auto-generated at build time (CalVer: YYYY.M.D.HHmm)
// Version information for an assembly consists of the following four values:
// Major Version
// Minor Version
// Build Number
// Revision
[assembly: AssemblyVersion("4.0.0.2")]
[assembly: AssemblyFileVersion("4.0.0.2")]

View file

@ -177,7 +177,7 @@ namespace MosswartMassacre.Views
{
view.Visible = true;
view.ShowInBar = true;
view.Title = "Mossy Tracker";
view.Title = "Mossy Tracker v5.0.0.0";
}
RefreshAllData();

View file

@ -59,7 +59,7 @@ namespace MosswartMassacre.Views
// Set window properties
if (doTitle)
{
properties.Title = $"Mosswart Massacre v{Constants.PluginVersion}";
properties.Title = "Mosswart Massacre v5.0.0.0";
}
if (doIcon)
@ -91,7 +91,7 @@ namespace MosswartMassacre.Views
if (doTitle)
{
properties.Title = $"Mosswart Massacre v{Constants.PluginVersion}";
properties.Title = "Mosswart Massacre v5.0.0.0";
}
if (doIcon)