mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-14 07:04:51 -04:00
Fix broken XPC Service retrieval
This commit is contained in:
parent
997a79e330
commit
c49b5a64ee
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ guard getppid() == 1 else {
|
|||
}
|
||||
|
||||
/// XPCServer used to monitor incoming requests
|
||||
let server: XPCServer = try XPCServer.forThisXPCService()
|
||||
let server: XPCServer = try XPCServer.forMachService()
|
||||
server.registerRoute(XPCRoute.commandRoute, handler: HelperToolCommandRunner.run(_:))
|
||||
server.setErrorHandler { error in
|
||||
if case .connectionInvalid = error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue