dev: updater

This commit is contained in:
2026-03-10 15:04:27 +01:00
parent f2e4addbb0
commit f065f58f71
15 changed files with 825 additions and 173 deletions

View File

@@ -5,6 +5,7 @@ using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using CarManagerV3.Forms;
using CarManagerV3.Manager;
namespace CarManagerV3
{
@@ -61,6 +62,13 @@ namespace CarManagerV3
refreshRecents();
if (Updater.IsUpdateAvailable(Properties.Settings.Default.AllowPrerelease))
{
UpdatePromptForm updatePrompt = new UpdatePromptForm(Updater.GetCurrentVersion(), Updater.GetLatestVersion());
updatePrompt.ShowDialog();
}
}
public void openWelcomeScreen()