fix: replace dead permission-refresh button with real Quit & Reopen - #10
Merged
Conversation
…& Reopen macOS caches getMediaAccessStatus()/isTrustedAccessibilityClient() for the life of the process, so a permission grant made in System Settings is invisible to an already-running app no matter how many times its status is re-checked. The permission banner's "refresh" button called that same re-check, so it could structurally never work - and closing the window doesn't quit the app on macOS, so clicking the Dock icon just refocuses the same stale process, making the loop worse to diagnose. Replaced it with a button that actually calls app.relaunch() + app.exit() via a new relaunch-app IPC handler, so a single click does the one thing that reliably works instead of a button that looks like it should help but can't.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan