mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-12 15:21:58 +00:00
Updated ProgramInfo.BuildVersion to only return the version format
This commit is contained in:
@@ -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<PckFile.FileData.FileType, Action<PckFile.FileData>>(15)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user