mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
输出git哈希值1
This commit is contained in:
@@ -8,6 +8,7 @@ namespace CMLeonOS
|
||||
public static string Minor = "0";
|
||||
public static string Patch = "0";
|
||||
public static string VersionType = "PreRelease";
|
||||
public static string GitCommit = "unknown";
|
||||
|
||||
public static string FullVersion
|
||||
{
|
||||
@@ -23,5 +24,10 @@ namespace CMLeonOS
|
||||
{
|
||||
get { return $"CMLeonOS v{ShortVersion} ({VersionType})"; }
|
||||
}
|
||||
|
||||
public static string DisplayVersionWithGit
|
||||
{
|
||||
get { return $"CMLeonOS v{ShortVersion} ({VersionType}) - Git: {GitCommit}"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user