mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Remove providing custom installer progress app
I don't think this feature would be used much, and I don't want to deal with additional maintainability. As it is, the progress app should show up in rare cases.
This commit is contained in:
1 parent
d44ef6bb75
commit
53c4abaf9e
2 files changed
+2
-22
No files matched your search
Vendored
+2
-9
@@ -229,16 +229,9 @@
|
||||
decryptionPassword = [self.updaterDelegate decryptionPasswordForUpdater:self.updater];
|
||||
}
|
||||
|
||||
NSString *localProgressToolPath = nil;
|
||||
if ([self.updaterDelegate respondsToSelector:@selector(pathToInstallerProgressAppForUpdater:)]) {
|
||||
localProgressToolPath = [self.updaterDelegate pathToInstallerProgressAppForUpdater:self.updater];
|
||||
}
|
||||
|
||||
NSString *localProgressToolPath = [self.sparkleBundle pathForResource:@""SPARKLE_INSTALLER_PROGRESS_TOOL_NAME ofType:@"app"];
|
||||
if (localProgressToolPath == nil) {
|
||||
localProgressToolPath = [self.sparkleBundle pathForResource:@""SPARKLE_INSTALLER_PROGRESS_TOOL_NAME ofType:@"app"];
|
||||
if (localProgressToolPath == nil) {
|
||||
SULog(@"Error: Failed to find installer progress tool: %@", localProgressToolPath);
|
||||
}
|
||||
SULog(@"Error: Failed to find installer progress tool: %@", localProgressToolPath);
|
||||
}
|
||||
|
||||
NSError *progressToolError = nil;
|
||||
|
||||
Vendored
-13
@@ -236,19 +236,6 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
|
||||
*/
|
||||
- (NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater;
|
||||
|
||||
/*!
|
||||
Returns the path which is used to launch the installer progress app.
|
||||
|
||||
Return nil if a custom path should not be used. The default is the path Sparkle's own installer progress app.
|
||||
|
||||
Note that if the application is sandboxed, the path returned from this method must be accessible within the application's sandbox.
|
||||
Lastly, the installer progress app is only used if the installation takes a "long" period of time. This is more likely to occur with installations
|
||||
that happen eg: over the network or USB drive, or if the app is really big and scattered in size. For most use cases, this tool may not be launched.
|
||||
|
||||
\param updater The SUUpdater instance.
|
||||
*/
|
||||
- (NSString *)pathToInstallerProgressAppForUpdater:(SUUpdater *)updater;
|
||||
|
||||
/*!
|
||||
Returns whether or not the updater should inherit its parent's privileges during installation
|
||||
|
||||
|
||||
Reference in new issue
Block a user