version+Shell的命令提示符

This commit is contained in:
2026-02-05 21:35:35 +08:00
parent 34021cce51
commit 0c3ca5fc7c
4 changed files with 14 additions and 5 deletions

View File

@@ -7,10 +7,11 @@ namespace CMLeonOS
public static string Major = "1";
public static string Minor = "0";
public static string Patch = "0";
public static string VersionType = "PreRelease";
public static string FullVersion
{
get { return $"{Major}.{Minor}.{Patch}"; }
get { return $"{Major}.{Minor}.{Patch}-{VersionType}"; }
}
public static string ShortVersion
@@ -20,7 +21,7 @@ namespace CMLeonOS
public static string DisplayVersion
{
get { return $"CMLeonOS v{ShortVersion}"; }
get { return $"CMLeonOS v{ShortVersion} ({VersionType})"; }
}
}
}