mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
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.
22 lines
530 B
Objective-C
22 lines
530 B
Objective-C
//
|
|
// SUXPCInstallerConnection.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 7/10/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SUInstallerConnectionProtocol.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface SUXPCInstallerConnection : NSObject <SUInstallerConnectionProtocol>
|
|
|
|
// Due to XPC reasons, this delegate is strongly referenced, until it's invalidated
|
|
- (instancetype)initWithDelegate:(id<SUInstallerCommunicationProtocol>)delegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|