Use proper version string based on build version

This commit is contained in:
MBucari
2025-07-27 21:09:45 -06:00
committed by Michael Bucari-Tovo
parent be96f99461
commit ca30fd41c6
10 changed files with 24 additions and 13 deletions

View File

@@ -16,6 +16,11 @@ namespace LibationFileManager
MacOS = 0x400000,
}
public static class Estensions
{
public static string ToVersionString(this Version version) => version.Revision > 1 ? version.ToString(4) : version.ToString(3);
}
public partial class Configuration
{
public static bool IsWindows { get; } = OperatingSystem.IsWindows();