Bump version to 1.0.0.0

This commit is contained in:
2025-02-15 11:44:46 +01:00
parent a95edb5bba
commit 385cb94427
5 changed files with 32 additions and 14 deletions

View File

@ -25,7 +25,7 @@ namespace Elwig.Windows {
public MainWindow() {
InitializeComponent();
var v = Assembly.GetExecutingAssembly().GetName().Version;
VersionField.Text = "Version: " + (v == null ? "?" : $"{v.Major}.{v.Minor}.{v.Build}") + $" {App.BranchName}";
VersionField.Text = $"Version: {v?.ToString() ?? "?"} {App.BranchName}";
if (App.Client.Client == null) VersionField.Text += " (Unbekannt)";
Menu_Help_Update.IsEnabled = App.Config.UpdateUrl != null;
Menu_Help_Smtp.IsEnabled = App.Config.Smtp != null;