revalidate

This commit is contained in:
pointfeev 2021-11-11 02:35:59 -05:00
parent cdb9d6a658
commit 61a6995faa
No known key found for this signature in database
GPG key ID: AA14DC36C4D7D13C
2 changed files with 9 additions and 1 deletions

View file

@ -6,7 +6,7 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>ini.ico</ApplicationIcon> <ApplicationIcon>ini.ico</ApplicationIcon>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> <IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<Version>2.0.0.1</Version> <Version>2.0.1.0</Version>
<PackageIcon>ini.ico</PackageIcon> <PackageIcon>ini.ico</PackageIcon>
<PackageIconUrl /> <PackageIconUrl />
<Description>Automatically installs and generates CreamAPI files for programs/games on the user's computer.</Description> <Description>Automatically installs and generates CreamAPI files for programs/games on the user's computer.</Description>

View file

@ -242,6 +242,8 @@ namespace CreamInstaller
progress.Report(RunningTasks.Count); progress.Report(RunningTasks.Count);
} }
private bool initialized = false;
private async void OnLoad() private async void OnLoad()
{ {
Program.Canceled = false; Program.Canceled = false;
@ -317,6 +319,12 @@ namespace CreamInstaller
cancelButton.Enabled = false; cancelButton.Enabled = false;
scanButton.Enabled = true; scanButton.Enabled = true;
if (!initialized)
{
initialized = true;
OnLoad();
}
} }
private void OnTreeViewNodeCheckedChanged(object sender, TreeViewEventArgs e) private void OnTreeViewNodeCheckedChanged(object sender, TreeViewEventArgs e)