diff --git a/sparkle-cli/SPUCommandLineDriver.m b/sparkle-cli/SPUCommandLineDriver.m index c7a66d72..4cb69a50 100644 --- a/sparkle-cli/SPUCommandLineDriver.m +++ b/sparkle-cli/SPUCommandLineDriver.m @@ -86,10 +86,16 @@ void _SULogDisableStandardErrorStream(void); }); } -- (BOOL)updaterShouldAllowInstallerInteraction:(SPUUpdater *)__unused updater +// If the installation is interactive, we can show an authorization prompt for requesting additional privileges, +// along with allowing the installer to show UI when installing + +- (BOOL)updaterShouldAllowInstallerInteractionForInitiatedChecks:(SPUUpdater *)__unused updater +{ + return self.interactive; +} + +- (BOOL)updaterShouldAllowInstallerInteractionForScheduledChecks:(SPUUpdater *)__unused updater { - // If the installation is interactive, we can show an authorization prompt for requesting additional privileges, - // otherwise we should have the installer inherit the updater's privileges. return self.interactive; }