From 4ebc952c883f11d7acd4b78ab8a1da6d8370c89f Mon Sep 17 00:00:00 2001 From: Nikolay Demyankov Date: Wed, 2 Dec 2015 10:05:31 +0100 Subject: [PATCH] Don't reject installation request when download in progress. --- src/ios/Updater/HCPUpdateInstaller.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ios/Updater/HCPUpdateInstaller.m b/src/ios/Updater/HCPUpdateInstaller.m index 6dd9e271..34260a05 100644 --- a/src/ios/Updater/HCPUpdateInstaller.m +++ b/src/ios/Updater/HCPUpdateInstaller.m @@ -47,12 +47,6 @@ - (BOOL)launchUpdateInstallation:(NSError **)error { return NO; } - // if download in progress - exit - if ([HCPUpdateLoader sharedInstance].isDownloadInProgress) { - *error = [NSError errorWithCode:0 description:@"Download in progress, can't perform the installation until it's done."]; - return NO; - } - // check if there is anything to install if (![[NSFileManager defaultManager] fileExistsAtPath:_filesStructure.installationFolder.path]) { *error = [NSError errorWithCode:kHCPNothingToInstallErrorCode description:@"Nothing to install"];