mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
29 lines
866 B
Objective-C
29 lines
866 B
Objective-C
//
|
|
// SUInstaller.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 4/10/08.
|
|
// Copyright 2008 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SUInstallerProtocol.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SUHost;
|
|
|
|
SPU_OBJC_DIRECT_MEMBERS @interface SUInstaller : NSObject
|
|
|
|
+ (nullable id<SUInstallerProtocol>)installerForHost:(SUHost *)host expectedInstallationType:(NSString *)expectedInstallationType updateDirectory:(NSString *)updateDirectory homeDirectory:(NSString *)homeDirectory userName:(NSString *)userName error:(NSError **)error;
|
|
|
|
+ (nullable NSString *)installSourcePathInUpdateFolder:(NSString *)inUpdateFolder forHost:(SUHost *)host
|
|
#if SPARKLE_BUILD_PACKAGE_SUPPORT
|
|
isPackage:(BOOL *)isPackagePtr isGuided:(nullable BOOL *)isGuidedPtr
|
|
#endif
|
|
;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|