diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 8be9ac3b..9a0a0d5a 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -59,6 +59,15 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification static NSMutableDictionary *sharedUpdaters = nil; static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObservationContext"; +#ifdef DEBUG ++ (void)load +{ + // Debug builds have different configurations for update check intervals + // We're using NSLog instead of SULog here because we don't want to start Sparkle's logger here + NSLog(@"WARNING: This is running a Debug build of Sparkle; don't use this in production!"); +} +#endif + + (SUUpdater *)sharedUpdater { return [self updaterForBundle:[NSBundle mainBundle]];