mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-30 05:28:50 +00:00
For installUpdatesIfAvailable stub, do background update check instead of initiated
This commit is contained in:
1 parent
f18d410c6a
commit
d0d39bc623
1 file changed
+3
-3
Vendored
+3
-3
@@ -214,16 +214,16 @@ static NSMutableDictionary *sharedUpdaters = nil;
|
||||
// Not implemented properly at the moment - leaning towards it not be in the future
|
||||
// because it may be hard to implement properly (without passing a boolean flag everywhere), or
|
||||
// it would require us to maintain support for an additional class used by a very few people thus far
|
||||
// For now, just invoke the regular update process if this is invoked. Could change our minds on this later.
|
||||
// For now, just invoke the regular background update process if this is invoked. Could change our minds on this later.
|
||||
- (void)installUpdatesIfAvailable
|
||||
{
|
||||
if (!self.loggedInstallUpdatesIfAvailableWarning) {
|
||||
SULog(@"-[%@ installUpdatesIfAvailable] does not function anymore.. Instead a user-initiated update check will be done instead.", NSStringFromClass([self class]));
|
||||
SULog(@"-[%@ installUpdatesIfAvailable] does not function anymore.. Instead a background scheduled update check will be done.", NSStringFromClass([self class]));
|
||||
|
||||
self.loggedInstallUpdatesIfAvailableWarning = YES;
|
||||
}
|
||||
|
||||
[self checkForUpdates:nil];
|
||||
[self checkForUpdatesInBackground];
|
||||
}
|
||||
|
||||
- (void)userDriverWillShowModalAlert
|
||||
|
||||
Reference in new issue
Block a user