mirror of
https://github.com/sparkle-project/Sparkle.git
synced 2025-11-01 15:34:38 +00:00
26 lines
969 B
Objective-C
26 lines
969 B
Objective-C
//
|
|
// SUCommandLineDriver.h
|
|
// sparkle-cli
|
|
//
|
|
// Created by Mayur Pawashe on 4/10/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SUUpdatePermissionResponse;
|
|
|
|
SPU_OBJC_DIRECT_MEMBERS @interface SPUCommandLineDriver : NSObject
|
|
|
|
- (nullable instancetype)initWithUpdateBundlePath:(NSString *)updateBundlePath applicationBundlePath:(nullable NSString *)applicationBundlePath allowedChannels:(NSSet<NSString *> *)allowedChannels customFeedURL:(nullable NSString *)customFeedURL userAgentName:(nullable NSString *)userAgentName updatePermissionResponse:(nullable SUUpdatePermissionResponse *)updatePermissionResponse deferInstallation:(BOOL)deferInstallation interactiveInstallation:(BOOL)interactiveInstallation allowMajorUpgrades:(BOOL)allowMajorUpgrades verbose:(BOOL)verbose;
|
|
|
|
- (void)runAndCheckForUpdatesNow:(BOOL)checkForUpdatesNow;
|
|
|
|
- (void)probeForUpdates;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|