CreditsForm - Updated build label format

This commit is contained in:
miku-666
2023-08-13 15:09:14 +02:00
parent 66fd2315a2
commit cad6555e88
2 changed files with 3 additions and 2 deletions

View File

@@ -139,6 +139,7 @@
this.buildLabel.Text = "Build Information";
this.buildLabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.buildLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
this.buildLabel.WrapToLine = true;
//
// CreditsForm
//

View File

@@ -11,9 +11,9 @@ namespace PckStudio.Forms
{
InitializeComponent();
#if BETA
buildLabel.Text = $"[Beta] {ApplicationBuildInfo.BetaBuildVersion}@{CommitInfo.BranchName}";
buildLabel.Text = $"Build Config: Beta\nBuild Version: {ApplicationBuildInfo.BetaBuildVersion}\n Branch: {CommitInfo.BranchName}";
#elif DEBUG
buildLabel.Text = $"[Debug] {CommitInfo.BranchName}@{CommitInfo.CommitHash}";
buildLabel.Text = $"Build Config: Debug\nBranch: {CommitInfo.BranchName}\nCommit Id: {CommitInfo.CommitHash}";
#else
buildLabel.Text = string.Empty;
#endif