mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-09-09 09:59:03 +02:00
Add host lookup xpc service (#826)
* Add host lookup xpc service * Remove restriction that snuck in * Test fixes
This commit is contained in:
7
Sources/SecretAgentHostsfileReader/main.swift
Normal file
7
Sources/SecretAgentHostsfileReader/main.swift
Normal file
@@ -0,0 +1,7 @@
|
||||
import Foundation
|
||||
import XPCWrappers
|
||||
|
||||
let delegate = XPCServiceDelegate(exportedObject: SecretAgentHostsfileReader())
|
||||
let listener = NSXPCListener.service()
|
||||
listener.delegate = delegate
|
||||
listener.resume()
|
||||
Reference in New Issue
Block a user