整理代码1

This commit is contained in:
2026-02-04 17:50:50 +08:00
parent d02fb85b1c
commit eb26a500bb
45 changed files with 0 additions and 0 deletions

26
utils/Version.cs Normal file
View 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}"; }
}
}
}