Add documentation suggestion if updater fails to start

This commit is contained in:
Zorg authored and Kornel committed 2021-07-26 15:58:20 +01:00
1 parent 4db96f6c4f
commit a22562431b
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -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(
+3
View File
@@ -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.