using System;
using System.Reflection;
using System.Windows.Forms;
namespace CrapFixer
{
internal static class Program
{
///
/// The main entry point for the application.
///
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
///
/// Retrieves the version of the app
///
/// The application version in the format "major.minor.build"
public static string GetAppVersion()
{
// Get the version of the current executing assembly
Version version = Assembly.GetExecutingAssembly().GetName().Version;
// Return the version in the format "major.minor.build"
return $"{version.Major}.{version.Minor}.{version.Build}";
}
}
}