Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.809 kB
// SUScheduledUpdateDriver.m
// Sparkle
// Created by Andy Matuschak on 5/6/08.
// Copyright 2008 Andy Matuschak. All rights reserved.
#import "SUScheduledUpdateDriver.h"
#import "Sparkle.h"
@implementation SUScheduledUpdateDriver
- (void)didFindValidUpdate
showErrors = YES; // We only start showing errors after we present the UI for the first time.
[super didFindValidUpdate];
- (void)didNotFindUpdate
if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)])
[[updater delegate] updaterDidNotFindUpdate:updater];
[self abortUpdate]; // Don't tell the user that no update was found; this was a scheduled update.
- (void)abortUpdateWithError:(NSError *)error
if (showErrors)
[super abortUpdateWithError:error];
[self abortUpdate];
Jump to Line
Something went wrong with that request. Please try again.