From 61a6995faa23ef55a52428c721358a215458aecc Mon Sep 17 00:00:00 2001 From: pointfeev Date: Thu, 11 Nov 2021 02:35:59 -0500 Subject: [PATCH] revalidate --- CreamInstaller/CreamInstaller.csproj | 2 +- CreamInstaller/Forms/SelectForm.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CreamInstaller/CreamInstaller.csproj b/CreamInstaller/CreamInstaller.csproj index 6a1a5ea..6563505 100644 --- a/CreamInstaller/CreamInstaller.csproj +++ b/CreamInstaller/CreamInstaller.csproj @@ -6,7 +6,7 @@ true ini.ico true - 2.0.0.1 + 2.0.1.0 ini.ico Automatically installs and generates CreamAPI files for programs/games on the user's computer. diff --git a/CreamInstaller/Forms/SelectForm.cs b/CreamInstaller/Forms/SelectForm.cs index 50875c6..979567b 100644 --- a/CreamInstaller/Forms/SelectForm.cs +++ b/CreamInstaller/Forms/SelectForm.cs @@ -242,6 +242,8 @@ namespace CreamInstaller progress.Report(RunningTasks.Count); } + private bool initialized = false; + private async void OnLoad() { Program.Canceled = false; @@ -317,6 +319,12 @@ namespace CreamInstaller cancelButton.Enabled = false; scanButton.Enabled = true; + + if (!initialized) + { + initialized = true; + OnLoad(); + } } private void OnTreeViewNodeCheckedChanged(object sender, TreeViewEventArgs e)