dev: updater
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user