Compare commits
No commits in common. "725bbf473fc9cb6a2c6c638cc0ea645986cad076" and "a13d30f0b2a4fbd16ef1608805c24714a1b99590" have entirely different histories.
725bbf473f
...
a13d30f0b2
6 changed files with 10 additions and 22 deletions
|
|
@ -26,11 +26,5 @@ namespace MosswartMassacre
|
||||||
// Int64 property keys
|
// Int64 property keys
|
||||||
internal const int AvailableLuminanceKey = 6;
|
internal const int AvailableLuminanceKey = 6;
|
||||||
internal const int MaximumLuminanceKey = 7;
|
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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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'))" />
|
<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>
|
</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')" />
|
<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("$(CalVerVersion)")];[assembly: AssemblyFileVersion("$(CalVerVersion)")]" />
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="$(CalVerFile)" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -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
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("9b6a07e1-ae78-47f4-b09c-174f6a27d7a3")]
|
[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")]
|
||||||
|
|
@ -177,7 +177,7 @@ namespace MosswartMassacre.Views
|
||||||
{
|
{
|
||||||
view.Visible = true;
|
view.Visible = true;
|
||||||
view.ShowInBar = true;
|
view.ShowInBar = true;
|
||||||
view.Title = "Mossy Tracker";
|
view.Title = "Mossy Tracker v5.0.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
RefreshAllData();
|
RefreshAllData();
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ namespace MosswartMassacre.Views
|
||||||
// Set window properties
|
// Set window properties
|
||||||
if (doTitle)
|
if (doTitle)
|
||||||
{
|
{
|
||||||
properties.Title = $"Mosswart Massacre v{Constants.PluginVersion}";
|
properties.Title = "Mosswart Massacre v5.0.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doIcon)
|
if (doIcon)
|
||||||
|
|
@ -91,7 +91,7 @@ namespace MosswartMassacre.Views
|
||||||
|
|
||||||
if (doTitle)
|
if (doTitle)
|
||||||
{
|
{
|
||||||
properties.Title = $"Mosswart Massacre v{Constants.PluginVersion}";
|
properties.Title = "Mosswart Massacre v5.0.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doIcon)
|
if (doIcon)
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue