Closed tisfeng closed 2 weeks ago
There was an issue with the previous code. We should use CGPreflightScreenCaptureAccess
to check for authorization status. If permission is not granted, use CGRequestScreenCaptureAccess
to request access ba9b26c9 .
@Jerry23011 Please test again.
Now we have a new-looking popup requesting permission when the app is first installed. However, the warning popup still persists after Mac restart.
It's strange, this PR code seems fine, I think we can merge it first.
There's no further information on the macOS 15 beta yet, we'll keep an eye on it.
And show alert if has no screen access.
Close https://github.com/tisfeng/Easydict/issues/587