I am trying to do Auto or Silent update of my mac app using Sparkle framework and I added the key SUEnableAutomaticChecks to YES in my info.plist. I write the code in AppController like below :
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
//Sparkle auto update
SUUpdater *sparkleUpdater = [SUUpdater sharedUpdater];
[sparkleUpdater checkForUpdates:self];
sparkleUpdater.delegate = [[NRMUpdateDelegate alloc] init];
[sparkleUpdater setAutomaticallyChecksForUpdates:YES];
[sparkleUpdater setAutomaticallyDownloadsUpdates:YES];
[sparkleUpdater checkForUpdatesInBackground];
}
Still I am getting the updater window to update install the new version. I want to do all this in background.
Can anyone suggest me how can do this....