Browse Source

sets mach service name to xcp's name on master branch

pep_thunderbird_installer
Andreas Buff 2 years ago
parent
commit
3c4d566aed
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pEpUpdates/pEpUpdates/AppDelegate.swift

+ 2
- 1
pEpUpdates/pEpUpdates/AppDelegate.swift View File

@ -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()


Loading…
Cancel
Save