From 4a41612188f2f802deb07d55fe6390e0d272d21f Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Tue, 25 Apr 2023 18:15:02 +0200 Subject: [PATCH] Updated ProgramInfo.BuildVersion to only return the version format --- PCK-Studio/MainForm.cs | 2 +- PCK-Studio/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 5c65a8a8..f6078acf 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -72,7 +72,7 @@ namespace PckStudio labelVersion.Text = "PCK Studio: " + Application.ProductVersion; ChangelogRichTextBox.Text = Resources.CHANGELOG; #if DEBUG - labelVersion.Text += Program.Info.BuildVersion + " " + Program.Info.LastCommitHash; + labelVersion.Text += $" (Debug build: {Program.Info.BuildVersion}@{Program.Info.LastCommitHash})"; #endif pckFileTypeHandler = new Dictionary>(15) diff --git a/PCK-Studio/Program.cs b/PCK-Studio/Program.cs index 8a8f5c1c..51fce472 100644 --- a/PCK-Studio/Program.cs +++ b/PCK-Studio/Program.cs @@ -21,7 +21,7 @@ namespace PckStudio { // adopted Minecraft Java Edition Snapshot format (YYwWWn) // to keep better track of work in progress features and builds - return string.Format("(Debug build #{0}w{1}{2})", + return string.Format("#{0}w{1}{2}", date.ToString("yy"), BuildCalendar.GetWeekOfYear(date, System.Globalization.CalendarWeekRule.FirstDay, DayOfWeek.Monday), BuildType);