From 34ad4cfd6bc11ec5a99b95bf6080ca23a81cde0a Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 28 Feb 2016 18:03:38 -0500 Subject: [PATCH] Add note about has launched before logic needing improvement --- Sparkle/SUUpdater.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 5bd95459..973be249 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -119,6 +119,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification shouldPrompt = [self.host objectForKey:SUPromptUserOnFirstLaunchKey] || hasLaunchedBefore; } +#warning the logic for having launched before needs to be more intelligent now that Sparkle can through an XPC service and is re-entrant if (!hasLaunchedBefore) { [self.host setBool:YES forUserDefaultsKey:SUHasLaunchedBeforeKey]; }