mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Mark startUpdater method as being invoked on main thread only
This commit is contained in:
1 parent
5a7462e5b9
commit
f46d4b7c4d
1 file changed
+2
-1
Vendored
+2
-1
@@ -43,7 +43,6 @@ SU_EXPORT @interface SPUUpdater : NSObject
|
||||
* @param userDriver The user driver that Sparkle uses for user update interaction
|
||||
* @param delegate The delegate for SPUUpdater. This may be nil.
|
||||
*
|
||||
* This must be called on the main thread.
|
||||
*/
|
||||
- (instancetype)initWithHostBundle:(NSBundle *)hostBundle applicationBundle:(NSBundle *)applicationBundle userDriver:(id <SPUUserDriver>)userDriver delegate:(id<SPUUpdaterDelegate> _Nullable)delegate;
|
||||
|
||||
@@ -60,6 +59,8 @@ SU_EXPORT @interface SPUUpdater : NSObject
|
||||
* This preschedules an update action before starting the updater. When the updater is started, the prescheduled action is immediately invoked.
|
||||
* This may be useful for example if you want to check for updates right away without a permission prompt potentially showing.
|
||||
*
|
||||
* This must be called on the main thread.
|
||||
*
|
||||
* @param error The error that is populated if this method fails. Pass NULL if not interested in the error information.
|
||||
* @return YES if the updater started otherwise NO with a populated error
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user