mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
This may be useful if user defaults can't be relied on for the feed URL. For example, if an app is sandboxed, its user defaults may differ from the defaults sparkle-cli looks up.
26 lines
769 B
Objective-C
26 lines
769 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 SPUUpdatePermission;
|
|
|
|
@interface SPUCommandLineDriver : NSObject
|
|
|
|
- (nullable instancetype)initWithUpdateBundlePath:(NSString *)updateBundlePath applicationBundlePath:(nullable NSString *)applicationBundlePath customFeedURL:(nullable NSString *)customFeedURL updatePermission:(nullable SPUUpdatePermission *)updatePermission deferInstallation:(BOOL)deferInstallation interactiveInstallation:(BOOL)interactiveInstallation verbose:(BOOL)verbose;
|
|
|
|
- (void)runAndCheckForUpdatesNow:(BOOL)checkForUpdatesNow;
|
|
|
|
- (void)probeForUpdates;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|