fix(mac): harden relay spawn path and show status

This commit is contained in:
Peter Steinberger
2025-12-06 23:45:16 +01:00
parent 7daef74fc6
commit 7aca8d2d1c
2 changed files with 29 additions and 4 deletions

View File

@@ -297,7 +297,8 @@ enum PermissionManager {
let trusted = AXIsProcessTrusted()
results[cap] = trusted
if interactive, !trusted {
_ = AXIsProcessTrustedWithOptions(nil)
let opts: NSDictionary = ["AXTrustedCheckOptionPrompt": true]
_ = AXIsProcessTrustedWithOptions(opts)
}
case .screenRecording: