diff --git a/Package.swift b/Package.swift index bf974d1a..190e96cc 100644 --- a/Package.swift +++ b/Package.swift @@ -4,8 +4,8 @@ import PackageDescription // Version is technically not required here, SPM doesn't check let version = "2.0.0" // Tag is required to point towards the right asset. SPM requires the tag to follow semantic versioning to be able to resolve it. -let tag = "2.0.0" -let checksum = "ef0d0cc46421f8644f455b62537f4e4db2c97bdca5820641219a1836f3782878" +let tag = "1.20.0" +let checksum = "d7876f73ceaa22b7cef010051cdf059250002e92f828dc1305d3a66fa281dcef" let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip" let package = Package( diff --git a/Sparkle/SPUUpdater.h b/Sparkle/SPUUpdater.h index 2828521b..fc32e342 100644 --- a/Sparkle/SPUUpdater.h +++ b/Sparkle/SPUUpdater.h @@ -67,6 +67,9 @@ SU_EXPORT @interface SPUUpdater : NSObject After starting the updater and before the next runloop cycle, one of -checkForUpdates, -checkForUpdatesInBackground, or -checkForUpdateInformation can be invoked. This may be useful if you want to check for updates immediately or without showing a permission prompt. + + If the updater cannot be started (i.e, due to a configuration issue in the application), you may want to fall back appropriately. + For example, the standard updater controller (SPUStandardUpdaterController) alerts the user that the app is misconfigured and to contact the developer. This must be called on the main thread.