mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Also add defer installation option, which will not terminate the application right away. Rename "relaunch" option as "application" instead.
22 lines
476 B
Objective-C
22 lines
476 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
|
|
|
|
@interface SUCommandLineDriver : NSObject
|
|
|
|
- (nullable instancetype)initWithUpdateBundlePath:(NSString *)updateBundlePath applicationBundlePath:(nullable NSString *)applicationBundlePath deferInstallation:(BOOL)deferInstallation;
|
|
|
|
- (void)run;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|