remote hands test
This commit is contained in:
@@ -35,6 +35,7 @@ let stdoutLock = NSLock()
|
|||||||
struct Server {
|
struct Server {
|
||||||
static func main() {
|
static func main() {
|
||||||
_ = NSApplication.shared
|
_ = NSApplication.shared
|
||||||
|
NSApp.setActivationPolicy(.prohibited)
|
||||||
AXUIElementSetMessagingTimeout(AXUIElementCreateSystemWide(), 3)
|
AXUIElementSetMessagingTimeout(AXUIElementCreateSystemWide(), 3)
|
||||||
Thread.detachNewThread {
|
Thread.detachNewThread {
|
||||||
let inFlight = DispatchGroup()
|
let inFlight = DispatchGroup()
|
||||||
|
|||||||
Reference in New Issue
Block a user