Skip to content
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

Manual permission handling (on MacOS) #141

Closed
tillbaks opened this issue Oct 20, 2022 · 1 comment
Closed

Manual permission handling (on MacOS) #141

tillbaks opened this issue Oct 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@tillbaks
Copy link

Short overview
Add ability to manually show the permissions dialog depending on what permissions are actually used by the software depending on libnut.

Use case

  1. If using only the keyboard part - any users would still get the screen recording permission dialog. Which might be confusing/unexpected for users.
  2. Ability to display a message before permission is requested to explain to the user why the permission will be requested to prevent users denying a necessary permission and then being confused why it is not working.
  3. Ability to know if a required permission is disabled so features of the software can be disabled or display warning why it does not work.
@s1hofmann s1hofmann added the enhancement New feature or request label Oct 22, 2022
s1hofmann added a commit that referenced this issue Nov 7, 2022
s1hofmann added a commit that referenced this issue Nov 7, 2022
s1hofmann added a commit that referenced this issue Nov 7, 2022
* (#141) Switch to more fine-grained permission checks on macOS via node-mac-permissions

* (#141) Refined output in failed permission check setup

* (#141) Moved node-mac-permissions back to dependencies array

* (#141) Revert last commit
s1hofmann added a commit that referenced this issue Nov 8, 2022
…inaries to support both x64 and Apple Silicon
s1hofmann added a commit that referenced this issue Nov 8, 2022
s1hofmann added a commit that referenced this issue Nov 8, 2022
* (#141) Switch to using @nut-tree/node-mac-permissions for universal binaries to support both x64 and Apple Silicon

* (#141) Change package import for @nut-tree/node-mac-permissions, adjust message for screen capture
s1hofmann added a commit that referenced this issue Jan 12, 2023
* (#141) Switch to more fine-grained permission checks on macOS via node-mac-permissions

* (#141) Refined output in failed permission check setup

* (#141) Moved node-mac-permissions back to dependencies array

* (#141) Revert last commit
s1hofmann added a commit that referenced this issue Jan 12, 2023
* (#141) Switch to using @nut-tree/node-mac-permissions for universal binaries to support both x64 and Apple Silicon

* (#141) Change package import for @nut-tree/node-mac-permissions, adjust message for screen capture
s1hofmann added a commit that referenced this issue Jan 12, 2023
* (#141) Switch to more fine-grained permission checks on macOS via node-mac-permissions

* (#141) Refined output in failed permission check setup

* (#141) Moved node-mac-permissions back to dependencies array

* (#141) Revert last commit
s1hofmann added a commit that referenced this issue Jan 12, 2023
* (#141) Switch to using @nut-tree/node-mac-permissions for universal binaries to support both x64 and Apple Silicon

* (#141) Change package import for @nut-tree/node-mac-permissions, adjust message for screen capture
@s1hofmann
Copy link
Member

More fine-grained permission requests are already in place.
Explicit requests can be carried out using https://www.npmjs.com/package/@nut-tree/node-mac-permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants