Files
Sparkle/sparkle-cli/SUCommandLineDriver.h
T
Zorg a113ce49bd Add interactive option to sparkle-cli
This allows installation by requesting the user to enter a password when elevated privileges are necessary. This only works if the application is alive before installation begins.
2016-05-28 23:04:43 -04:00

26 lines
717 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 SUUpdatePermission;
@interface SUCommandLineDriver : NSObject
- (nullable instancetype)initWithUpdateBundlePath:(NSString *)updateBundlePath applicationBundlePath:(nullable NSString *)applicationBundlePath updatePermission:(nullable SUUpdatePermission *)updatePermission deferInstallation:(BOOL)deferInstallation interactiveInstallation:(BOOL)interactiveInstallation verbose:(BOOL)verbose;
- (void)runAndCheckForUpdatesNow:(BOOL)checkForUpdatesNow;
- (void)probeForUpdates;
@end
NS_ASSUME_NONNULL_END