Skip to content
Permalink
Browse files

[GameStudio] About page: display version with build metadata

  • Loading branch information
xen2 committed Dec 10, 2018
1 parent 2bd1300 commit 6a5ce5ad0fd8dbc5bbb3f9bb47207e41ce1c2c74
@@ -42,7 +42,7 @@
<!-- Copyright info -->
<TextBlock Grid.Row="0" Grid.Column="0"
HorizontalAlignment="Left" VerticalAlignment="Center">
<Run Text="{xk:Localize Xenko version, Context=About}" /> <Run Text="{x:Static gameStudio:XenkoGameStudio.EditorVersion}" /><LineBreak />
<Run Text="{xk:Localize Xenko version, Context=About}" /> <Run Text="{x:Static gameStudio:XenkoGameStudio.EditorVersionWithMetadata}" /><LineBreak />
<Run Text="{x:Static gameStudio:XenkoGameStudio.CopyrightText1}" /><LineBreak />
<Run Text="{x:Static gameStudio:XenkoGameStudio.CopyrightText2}" /><LineBreak />
<!-- License -->
@@ -21,6 +21,9 @@ public static class XenkoGameStudio
[NotNull]
public static string EditorVersion => XenkoVersion.NuGetVersion;

[NotNull]
public static string EditorVersionWithMetadata => XenkoVersion.NuGetVersion + XenkoVersion.BuildMetadata;

public static string EditorVersionMajor => new System.Version(XenkoVersion.PublicVersion).ToString(2);

[NotNull]

0 comments on commit 6a5ce5a

Please sign in to comment.
You can’t perform that action at this time.