Commit 586a853
Exit non-zero on permission denial, throttle restarts to 60s
Permission denied is an error — exit(1) so launchd knows it failed.
KeepAlive=true with ThrottleInterval=60 means launchd retries at most
once per minute. Combined with the 60s in-binary accessibility poll,
the user gets one prompt per ~2 minutes until they grant permission.
With the stable binary path, TCC recognises the same app so the prompt
only appears once.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4269247 commit 586a853
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
0 commit comments