mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-25 10:56:54 +00:00
Merge branch 'main' into 3dSkinRenderer
This commit is contained in:
@@ -10,13 +10,17 @@ namespace PckStudio.Forms
|
||||
public CreditsForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
string buildConfig = "";
|
||||
#if BETA
|
||||
buildLabel.Text = $"Build Config: Beta\nBuild Version: {ApplicationBuildInfo.BetaBuildVersion}\n Branch: {CommitInfo.BranchName}";
|
||||
buildConfig = "Beta";
|
||||
#elif DEBUG
|
||||
buildLabel.Text = $"Build Config: Debug\nBranch: {CommitInfo.BranchName}\nCommit Id: {CommitInfo.CommitHash}";
|
||||
buildConfig = "Debug";
|
||||
#elif RELEASE
|
||||
buildConfig = "Release";
|
||||
#else
|
||||
buildLabel.Text = string.Empty;
|
||||
buildConfig = "unknown";
|
||||
#endif
|
||||
buildLabel.Text = $"Verion: {Application.ProductVersion}\nBuild Config: {buildConfig}\nBranch: {CommitInfo.BranchName}@{CommitInfo.CommitHash}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
|
||||
<DefineConstants>$(DefineConstants);TRACE;RELEASE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
||||
Reference in New Issue
Block a user