mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
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.
24 lines
505 B
Objective-C
24 lines
505 B
Objective-C
//
|
|
// SURemoteMessagePort.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/9/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface SURemoteMessagePort : NSObject
|
|
|
|
- (nullable instancetype)initWithServiceName:(NSString *)serviceName invalidationCallback:(void (^)(void))invalidationCallback;
|
|
|
|
- (BOOL)sendMessageWithIdentifier:(int32_t)identifier data:(NSData *)data;
|
|
|
|
- (void)invalidate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|