From 3c4d566aed77c272188a492f8f60ebc4f4553e14 Mon Sep 17 00:00:00 2001 From: Andreas Buff Date: Wed, 2 Sep 2020 16:15:32 +0200 Subject: [PATCH] sets mach service name to xcp's name on master branch --- pEpUpdates/pEpUpdates/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pEpUpdates/pEpUpdates/AppDelegate.swift b/pEpUpdates/pEpUpdates/AppDelegate.swift index 17bc9dd..5a68b52 100644 --- a/pEpUpdates/pEpUpdates/AppDelegate.swift +++ b/pEpUpdates/pEpUpdates/AppDelegate.swift @@ -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()