-
-
Notifications
You must be signed in to change notification settings - Fork 150
On Mac, the Electron program will always display a permission setting window every time it is opened. #476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The lowlevel provider of nut.js checks the required permissions during runtime. If they are not given, the permission request dialogue is shown. So once the required permissions are given, the dialogue wont be shown. |
Yes, I have already authorized both the authorization for assistive functions and the authorization for screen recording, and have also added programs developed by both terminal and Electron. |
I can't reproduce said issue. I just double checked and did a clean build of an Electron application using nut.js. Closing, feel free to re-open with additional info like a repo I can use to test. Best regards Simon |
Facing exact same issue, it keep asking for permissions each time app opened on arm64 machine. |
@ahmedmukhtar1133 On which version of nut.js? |
@s1hofmann |
@ahmedmukhtar1133 Please upgrade nut.js to latest, e.g. |
@s1hofmann In latest version now it just don't show the permission pop-up but quietly opens the accessibility screen each time. |
@s1hofmann Here is how I've fixed it: And provided the access on first ask for renamed app and now it's working fine. |
Version
3.0.0
Short overview
Issue occurs on
Detailed error description
Every time the official packaged Electron program is opened on a MacOS 13.0.1, a permission request window will pop up, even for those that have already been authorized. I hope that it can be manually triggered and that those who have already been authorized will not be prompted again.
The text was updated successfully, but these errors were encountered: