This commit is contained in:
2018-02-23 03:42:57 +00:00
parent 46e86ef1b2
commit cc26497093
13 changed files with 83 additions and 80 deletions

View File

@@ -25,6 +25,7 @@
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
using System;
using apprepodbmgr.Core;
using Eto;
@@ -41,14 +42,14 @@ namespace apprepodbmgr.Eto.Desktop
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);
}
Context.UsableDotNetZip = !Platform.Detect.IsMac && !Platform.Detect.IsIos;
new Application(Platform.Detect).Run(new frmMain());
}
}
}
}