mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
整理代码1
This commit is contained in:
26
utils/Version.cs
Normal file
26
utils/Version.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace CMLeonOS
|
||||
{
|
||||
public static class Version
|
||||
{
|
||||
public static string Major = "1";
|
||||
public static string Minor = "0";
|
||||
public static string Patch = "0";
|
||||
|
||||
public static string FullVersion
|
||||
{
|
||||
get { return $"{Major}.{Minor}.{Patch}"; }
|
||||
}
|
||||
|
||||
public static string ShortVersion
|
||||
{
|
||||
get { return $"{Major}.{Minor}.{Patch}"; }
|
||||
}
|
||||
|
||||
public static string DisplayVersion
|
||||
{
|
||||
get { return $"CMLeonOS v{ShortVersion}"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user