Files
oai-swift/oAI
rune da7bce26a2 Fix Request Access button doing nothing: run permission prompt on main thread
requestAccess() was dispatched onto the background queue used for
AppleScript execution, on the assumption that a blocking call needed to
be off-main. That's backwards for AEDeterminePermissionToAutomateTarget's
consent dialog — like this app's existing NSAlert.runModal() calls, it
needs to run on the main thread/run loop to actually display. Off-main,
it silently returned without ever showing a prompt or changing state.

Also added Log.mail diagnostics on both the status-only check and the
prompting call so a future report of "still doesn't work" has an actual
status code to look at instead of starting from scratch.
2026-08-19 14:13:56 +02:00
..
2026-06-29 14:04:27 +02:00
2026-08-02 14:58:14 +02:00