Files
Sparkle/Sparkle/Autoupdate/AppInstaller.h
T
Zorg 59bbcfadb0 Initial work on separating the updater & installer
The installer (Autoupdate.app) is now responsible for extracting & verifying the update.
It talks to the updater via mach ports. We can't afford to use a XPC service due to
lack of perfoming privileged tasks.
2016-03-10 01:49:59 -05:00

21 lines
589 B
Objective-C

//
// AppInstaller.h
// Sparkle
//
// Created by Mayur Pawashe on 3/7/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "SUUnarchiver.h"
@interface AppInstaller : NSObject <SUUnarchiverDelegate>
- (instancetype)initWithHostPath:(NSString *)hostPath relaunchPath:(NSString *)relaunchPath hostProcessIdentifier:(NSNumber *)hostProcessIdentifier updateFolderPath:(NSString *)updateFolderPath downloadPath:(NSString *)downloadPath dsaSignature:(NSString *)dsaSignature;
- (void)installAfterHostTermination;
- (void)extractUpdate;
@end