feat(autoupdate): remove trailing zeros, show prerelease tag

This commit is contained in:
2026-03-10 16:17:04 +01:00
parent a7aad1a5ef
commit f24d1321a8
4 changed files with 39 additions and 16 deletions

View File

@@ -18,6 +18,10 @@ namespace CarManagerV3.Forms
InitializeComponent();
lblInstalledVersion.Text = lblInstalledVersion.Text.Replace("?.?.?", currentVersion);
lblLatestVersion.Text = lblLatestVersion.Text.Replace("?.?.?", latestVersion);
if (Updater.IsLatestVersionPrerelease())
{
lblLatestVersion.Text += " (Pre-release)";
}
}
@@ -58,7 +62,7 @@ namespace CarManagerV3.Forms
private void btnReadChangelog_Click(object sender, EventArgs e)
{
Updater.openReleasePage();
Updater.OpenReleasePage();
}
}
}