mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-19 14:12:44 -04:00
Use proper version string based on build version
This commit is contained in:
committed by
Michael Bucari-Tovo
parent
be96f99461
commit
ca30fd41c6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user