mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Remove periodic permission status logging
- Removed info logs for Accessibility permission status checks - Removed info logs for AppleScript permission status checks - These were being logged repeatedly and cluttering the console
This commit is contained in:
parent
b7db081148
commit
fbfc4c57dd
3 changed files with 1 additions and 5 deletions
Binary file not shown.
|
|
@ -19,9 +19,7 @@ final class AccessibilityPermissionManager {
|
||||||
|
|
||||||
/// Checks if we have Accessibility permissions.
|
/// Checks if we have Accessibility permissions.
|
||||||
func hasPermission() -> Bool {
|
func hasPermission() -> Bool {
|
||||||
let permitted = AXIsProcessTrusted()
|
return AXIsProcessTrusted()
|
||||||
logger.info("Accessibility permission status: \(permitted)")
|
|
||||||
return permitted
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Requests Accessibility permissions by triggering the system dialog.
|
/// Requests Accessibility permissions by triggering the system dialog.
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,6 @@ final class AppleScriptPermissionManager: ObservableObject {
|
||||||
|
|
||||||
let permitted = await AppleScriptExecutor.shared.checkPermission()
|
let permitted = await AppleScriptExecutor.shared.checkPermission()
|
||||||
hasPermission = permitted
|
hasPermission = permitted
|
||||||
|
|
||||||
logger.info("AppleScript permission status: \(permitted)")
|
|
||||||
return permitted
|
return permitted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue