Version 1.2.0

This commit is contained in:
Junior 2024-01-04 22:59:30 -03:00
parent 9b3a0e00a2
commit e74d93fab9
83 changed files with 110087 additions and 47507 deletions

View file

@ -0,0 +1,18 @@
using System.Diagnostics;
namespace RHLauncher.RHLauncher.Helper
{
public class GetLauncherVersion
{
public static string GetVersion()
{
// Get the version information of the application
FileVersionInfo versionInfo = FileVersionInfo.GetVersionInfo(Application.ExecutablePath);
// Extract the version number
string version = $"{versionInfo.FileMajorPart}.{versionInfo.FileMinorPart}.{versionInfo.FileBuildPart}";
return version;
}
}
}