From 492664c611aaaef73fad283cbd07292cc23b41e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesi=C5=84ski?= Date: Thu, 21 Jul 2016 20:01:22 +0100 Subject: [PATCH 1/2] Clarify comment --- Sparkle/SUUpdater.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/SUUpdater.h b/Sparkle/SUUpdater.h index 435f649e..308f14d3 100644 --- a/Sparkle/SUUpdater.h +++ b/Sparkle/SUUpdater.h @@ -87,7 +87,7 @@ SU_EXPORT @interface SUUpdater : NSObject Checks for updates and, if available, immediately downloads and installs them. A progress dialog is shown but the user will never be prompted to read the release notes. - + You may want to respond to the userDidCancelDownload delegate method in case the user clicks the "Cancel" button while the update is downloading. */ @@ -267,7 +267,7 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey; \param updater The SUUpdater instance. \param item The appcast item corresponding to the update that is proposed to be installed. - \param invocation The invocation that must be completed before continuing with the relaunch. + \param invocation The invocation that must be completed with `[invocation invoke]` before continuing with the relaunch. \return \c YES to delay the relaunch until \p invocation is invoked. */ From ed97e6cb757b3d0e68a736d86481a786221b0cbb Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Fri, 22 Jul 2016 18:26:15 +0900 Subject: [PATCH 2/2] Add Carthage/Build to .gitignore With Carthage, if Sparkle is included as a Git submodule (e.g. with the --use-submodules option), the main module's .gitignore can't reach all the way inside the submodule to ignore the added Carthage/Build symlink, and Git keeps complaining about untracked changes in the submodule forever, which is very annoying. To avoid that issue, ignore here in Sparkle instead. --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 8b390eb4..b18d235c 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,13 @@ Icon .Spotlight-V100 .Trashes +# With Carthage, if Sparkle is included as a Git submodule (e.g. with the +# --use-submodules option), the main module's .gitignore can't reach all the +# way inside the submodule to ignore the added Carthage/Build symlink, and Git +# keeps complaining about untracked changes in the submodule forever, which +# is very annoying. To avoid that issue, ignore here in Sparkle instead. +Carthage/Build + # Directories potentially created on remote AFP share .AppleDB .AppleDesktop