diff --git a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.Html.cs b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.Html.cs
index f10d561..c1738c3 100644
--- a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.Html.cs
+++ b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.Html.cs
@@ -103,7 +103,7 @@ Most likely this error was caused by a custom installed module.
If you were in the middle of something, the progress might be lost.
- Operating System: {{crashReport.Metadata.OperatingSystemType}} ({{crashReport.Metadata.OperatingSystemVersion}})
+ Operating System: {{crashReport.Metadata.OperatingSystemType.ToString()}} ({{crashReport.Metadata.OperatingSystemVersion}})
Launcher: {{crashReport.Metadata.LauncherType}} ({{crashReport.Metadata.LauncherVersion}})
Runtime: {{crashReport.Metadata.Runtime}}
diff --git a/src/BUTR.CrashReport.Renderer.ImGui/Renderer/ImGuiRenderer.01.Summary.cs b/src/BUTR.CrashReport.Renderer.ImGui/Renderer/ImGuiRenderer.01.Summary.cs
index 3f52fde..e2d1808 100644
--- a/src/BUTR.CrashReport.Renderer.ImGui/Renderer/ImGuiRenderer.01.Summary.cs
+++ b/src/BUTR.CrashReport.Renderer.ImGui/Renderer/ImGuiRenderer.01.Summary.cs
@@ -2,6 +2,14 @@
partial class ImGuiRenderer
{
+ private static readonly byte[][] _operatingSystemTypeNames =
+ [
+ "Unknown"u8.ToArray(), // Unknown
+ "Windows"u8.ToArray(), // Windows
+ "Linux"u8.ToArray(), // Linux
+ "MacOS"u8.ToArray(), // MacOS
+ ];
+
private bool _addScreenshots;
private bool _addLatestSave;
private bool _addMiniDump;
@@ -67,6 +75,12 @@ private void RenderSummary()
_imgui.Text("If you were in the middle of something, the progress might be lost.\0"u8);
_imgui.NewLine();
+
+ _imgui.TextSameLine("Operating System: \0"u8);
+ _imgui.TextSameLine(_operatingSystemTypeNames[(int) _crashReport.Metadata.OperatingSystemType]);
+ _imgui.TextSameLine(" (\0"u8);
+ _imgui.TextSameLine(_crashReport.Metadata.OperatingSystemVersion ?? string.Empty);
+ _imgui.Text(")\0"u8);
_imgui.TextSameLine("Launcher: \0"u8);
_imgui.TextSameLine(_crashReport.Metadata.LauncherType ?? string.Empty);