mirror of
https://github.com/sparkle-project/Sparkle.git
synced 2025-11-01 15:34:38 +00:00
8563a40cd2
We now use XPC for communication between Sparkle.framework and Autoupdate. Autoupdate is now ran as a launchd agaent/daemon. (Most of the time, it acts as an agent). Using XPC can only be done from non-sandboxed processes, so a connection and status service had to be created. Currently, the GUI progress tool doesn't work properly, but everything else should be behaving like before.
20 lines
371 B
Objective-C
20 lines
371 B
Objective-C
//
|
|
// SUInstallerCommunicationProtocol.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 7/9/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SUInstallerCommunicationProtocol
|
|
|
|
- (void)handleMessageWithIdentifier:(int32_t)identifier data:(NSData *)data;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|