auto update fixes

This commit is contained in:
Luke Pulverenti
2013-09-30 11:04:38 -04:00
parent 3733ebd21e
commit f4f91a8316
4 changed files with 7 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
public async Task Execute(CancellationToken cancellationToken, IProgress<double> progress)
{
if (!_appHost.CanSelfUpdate) return;
if (!ConfigurationManager.CommonConfiguration.EnableAutoUpdate) return;
EventHandler<double> innerProgressHandler = (sender, e) => progress.Report(e * .1);