mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Just log an error instead of changing update button
Because the update installation will be aborted soon anyway..
This commit is contained in:
1 parent
53719cc8b7
commit
337f39e8b9
1 file changed
+3
-2
@@ -236,7 +236,7 @@
|
||||
- (void)showUpdaterError:(NSError *)error
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self addUpdateButtonWithTitle:@"Update Failed"];
|
||||
// Too lazy to show an alert; the update installation will be dismissed shortly
|
||||
NSLog(@"Error: %@", error);
|
||||
});
|
||||
}
|
||||
@@ -244,7 +244,8 @@
|
||||
- (void)showUpdateNotFound
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self addUpdateButtonWithTitle:@"No Update Found"];
|
||||
// Too lazy to show an alert; the update installation will be dismissed shortly
|
||||
NSLog(@"No Update Found");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user