mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Following cases where after an update has been automatically downloaded, Sparkle may alert the user right away: 1) Critical updates 2) Insufficient write access to install without being root 3) Package type installations In addition to alerting the user right away, if they dismiss the update, the schedule timer will be on regular intervals. We also no longer need to care about writability in the updater, only just in the installer.
26 lines
710 B
Objective-C
26 lines
710 B
Objective-C
//
|
|
// SUProbeInstallStatus.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/20/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SUHost, SUInstallationInfo;
|
|
|
|
@interface SUProbeInstallStatus : NSObject
|
|
|
|
+ (void)probeInstallerInProgressForHost:(SUHost *)host completion:(void (^)(BOOL))completionHandler;
|
|
|
|
// completionHandler may not be sent on main queue
|
|
// additionally, it may be possible that the installer is in progress but we get a nil installation info back
|
|
+ (void)probeInstallerUpdateItemForHost:(SUHost *)host completion:(void (^)(SUInstallationInfo * _Nullable))completionHandler;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|