mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Move -dismissUpdateInstallation call into basic update driver
This commit is contained in:
1 parent
0e97f0b4b6
commit
f00978c87b
3 files changed
+2
-9
No files matched your search
Vendored
-2
@@ -117,8 +117,6 @@ static const NSTimeInterval SUAutomaticUpdatePromptImpatienceTimer = 60 * 60 * 2
|
||||
[self stopUpdatingOnTermination];
|
||||
[self invalidateShowUpdateAlertTimer];
|
||||
|
||||
[self.updater.userUpdaterDriver dismissUpdateInstallation];
|
||||
|
||||
[super abortUpdate];
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
@@ -575,6 +575,8 @@
|
||||
|
||||
- (void)abortUpdate
|
||||
{
|
||||
[self.updater.userUpdaterDriver dismissUpdateInstallation];
|
||||
|
||||
[self cleanUpDownload];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
self.updateItem = nil;
|
||||
|
||||
Vendored
-7
@@ -159,13 +159,6 @@
|
||||
[super abortUpdateWithError:error];
|
||||
}
|
||||
|
||||
- (void)abortUpdate
|
||||
{
|
||||
[self.updater.userUpdaterDriver dismissUpdateInstallation];
|
||||
|
||||
[super abortUpdate];
|
||||
}
|
||||
|
||||
- (void)showNoticeModally:(BOOL)modally noticeHandler:(void (^)(void))noticeHandler
|
||||
{
|
||||
if (modally && [[self.updater delegate] respondsToSelector:@selector(updaterWillShowModalAlert:)]) {
|
||||
|
||||
Reference in new issue
Block a user