Code refactor.

This commit is contained in:
2020-08-22 21:37:02 +01:00
parent b4cd7f22bf
commit 6c78f0c769
33 changed files with 5624 additions and 3480 deletions

View File

@@ -40,9 +40,12 @@ namespace apprepodbmgr.Eto.Desktop
{
Settings.LoadSettings();
Context.CheckUnar();
if(Settings.Current.UseAntivirus)
{
if(Settings.Current.UseClamd) Workers.InitClamd();
if(Settings.Current.UseClamd)
Workers.InitClamd();
if(Settings.Current.UseVirusTotal)
Context.VirusTotalEnabled = Workers.InitVirusTotal(Settings.Current.VirusTotalKey);
}
@@ -52,4 +55,4 @@ namespace apprepodbmgr.Eto.Desktop
new Application(Platform.Detect).Run(new frmMain());
}
}
}
}