mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-30 05:28:50 +00:00
Rename SPUUpdateState back to SPUUserUpdateState
This commit is contained in:
1 parent
062bfaaa97
commit
ee5e98d3dd
15 files changed
+138
-153
No files matched your search
@@ -133,10 +133,10 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)showUpdateFoundWithAppcastItem:(SUAppcastItem *)appcastItem state:(SPUUpdateState *)state reply:(void (^)(SPUUserUpdateChoice))reply
|
||||
- (void)showUpdateFoundWithAppcastItem:(SUAppcastItem *)appcastItem state:(SPUUserUpdateState *)state reply:(void (^)(SPUUserUpdateChoice))reply
|
||||
{
|
||||
switch (state.stage) {
|
||||
case SPUUpdateStageInformational:
|
||||
case SPUUserUpdateStageInformational:
|
||||
// Todo: show user interface for this
|
||||
NSLog(@"Found info URL: %@", appcastItem.infoURL);
|
||||
|
||||
@@ -146,9 +146,9 @@
|
||||
reply(SPUUserUpdateChoiceDismiss);
|
||||
|
||||
break;
|
||||
case SPUUpdateStageNotDownloaded:
|
||||
case SPUUpdateStageDownloaded:
|
||||
case SPUUpdateStageInstalling:
|
||||
case SPUUserUpdateStageNotDownloaded:
|
||||
case SPUUserUpdateStageDownloaded:
|
||||
case SPUUserUpdateStageInstalling:
|
||||
[self showUpdateWithAppcastItem:appcastItem reply:reply];
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user