From 51259b82c72e76e4bd61cd139b732b540220e844 Mon Sep 17 00:00:00 2001 From: Saibamen Date: Sat, 21 Mar 2026 20:36:27 +0100 Subject: [PATCH] Add -dev suffix to Version text if in DEBUG --- src/Views/About.axaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Views/About.axaml.cs b/src/Views/About.axaml.cs index 09fc18e26..45a492c10 100644 --- a/src/Views/About.axaml.cs +++ b/src/Views/About.axaml.cs @@ -15,7 +15,12 @@ public About() var assembly = Assembly.GetExecutingAssembly(); var ver = assembly.GetName().Version; if (ver != null) + { TxtVersion.Text = $"{ver.Major}.{ver.Minor:D2}"; +#if DEBUG + TxtVersion.Text += "-dev"; +#endif + } var meta = assembly.GetCustomAttributes(); foreach (var attr in meta)