diff --git a/Autoupdate/SPUMessageTypes.h b/Autoupdate/SPUMessageTypes.h index d36cdb0b..0a48bd07 100644 --- a/Autoupdate/SPUMessageTypes.h +++ b/Autoupdate/SPUMessageTypes.h @@ -36,10 +36,13 @@ typedef NS_ENUM(int32_t, SPUUpdaterMessageType) BOOL SPUInstallerMessageTypeIsLegal(SPUInstallerMessageType oldMessageType, SPUInstallerMessageType newMessageType); +// Used by framework to communicate to installer (Autoupdate) NSString *SPUInstallerServiceNameForBundleIdentifier(NSString *bundleIdentifier); +// Used by framework to communicate to progress agent tool (Updater) NSString *SPUStatusInfoServiceNameForBundleIdentifier(NSString *bundleIdentifier); +// Used by progress agent tool to communicate to installer (Autoupdate) NSString *SPUProgressAgentServiceNameForBundleIdentifier(NSString *bundleIdentifier); NS_ASSUME_NONNULL_END diff --git a/Autoupdate/SPUMessageTypes.m b/Autoupdate/SPUMessageTypes.m index c60e265f..132b3d97 100644 --- a/Autoupdate/SPUMessageTypes.m +++ b/Autoupdate/SPUMessageTypes.m @@ -12,11 +12,10 @@ #include "AppKitPrevention.h" // Tags added to the bundle identifier which is used as Mach service names -// These should be very short because length restrictions exist on earlier versions of macOS +// These should be very short because of length restrictions #define SPARKLE_INSTALLER_TAG @"-spki" #define SPARKLE_STATUS_TAG @"-spks" #define SPARKLE_PROGRESS_TAG @"-spkp" -#define SPARKLE_PROGRESS_LAUNCH_INSTALLER_TAG @"-spkl" // macOS 10.8 couldn't handle service names that are >= 64 characters, // but 10.9 raised this to >= 128 characters