Start the updater in TestAppHelper

This commit is contained in:
Zorg committed 2016-04-16 21:48:02 -04:00
1 parent 786d3d4bb6
commit d96fd93edf
1 file changed
+6
+6
View File
@@ -43,6 +43,12 @@
NSBundle *hostBundle = [NSBundle bundleWithURL:appURL];
self.updater = [[SUUpdater alloc] initWithHostBundle:hostBundle userDriver:self.userDriver delegate:nil];
NSError *updaterError = nil;
if (![self.updater startUpdater:&updaterError]) {
NSLog(@"Encountered error while starting updater in Test App Helper: %@", updaterError);
abort();
}
}
}