mirror of
https://github.com/claunia/apprepodbmgr.git
synced 2025-12-16 19:24:42 +00:00
Code refactor.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user