|
|
@ -198,7 +198,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele |
|
|
|
|
|
|
|
// connect to XPC service |
|
|
|
|
|
|
|
connection = NSXPCConnection.init(machServiceName: "pEp.foundation.pEpMacOSAdapter") |
|
|
|
// connection = NSXPCConnection.init(machServiceName: "pEp.foundation.pEpMacOSAdapter") // Commented for hacky TB installer using this branch for building upater app and master for xcpservice. Needs "foundation.pEp.adapter.macOS" |
|
|
|
connection = NSXPCConnection.init(machServiceName: "foundation.pEp.adapter.macOS") |
|
|
|
if connection != nil { |
|
|
|
connection.remoteObjectInterface = NSXPCInterface.init(with: pEpMacOSAdapterProtocol.self) |
|
|
|
connection.resume() |
|
|
|