19 lines
576 B
C#
19 lines
576 B
C#
using System.Reflection;
|
|
|
|
namespace TaskbarLauncher.Services;
|
|
|
|
public static class AppInfo
|
|
{
|
|
public const string ProductName = "Taskbar Launcher";
|
|
public const string Author = "Ray Berezowski";
|
|
public const string GiveawaySiteUrl = "";
|
|
|
|
public static string Version =>
|
|
Assembly.GetExecutingAssembly()
|
|
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?
|
|
.InformationalVersion ?? "development";
|
|
|
|
public static string Build =>
|
|
Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "development";
|
|
}
|