From 23b6ca9e644f1b5339dbc68ebd2455d1557dc26e Mon Sep 17 00:00:00 2001 From: Sour Date: Sat, 11 May 2019 22:08:30 -0400 Subject: [PATCH] Updates: Check for updates on startup if the option is enabled --- UI/Forms/frmMain.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UI/Forms/frmMain.cs b/UI/Forms/frmMain.cs index d6a38f9..eaf8407 100644 --- a/UI/Forms/frmMain.cs +++ b/UI/Forms/frmMain.cs @@ -81,6 +81,10 @@ namespace Mesen.GUI.Forms ctrlRecentGames.Visible = true; } + if(ConfigManager.Config.Preferences.AutomaticallyCheckForUpdates) { + UpdateHelper.CheckForUpdates(true); + } + this.Resize += frmMain_Resize; }