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

Create a Privileges Helper #129

Open
CoZoZJW opened this issue Jan 6, 2025 · 0 comments
Open

Create a Privileges Helper #129

CoZoZJW opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@CoZoZJW
Copy link

CoZoZJW commented Jan 6, 2025

NeoHtop on macOS may require the sudo privilege to close some processes, or it will show a message stating, "Failed to ..."

I think it is useful to create a Privileges Helper that registers a LaunchdDaemon using ServiceManagement or SMJobBless. It can maintain a state of high privilege for a long time without keeping asking user to type their password (only once while installing), and they do not need to run the app using Terminal to get the privilege.

@CoZoZJW CoZoZJW added the enhancement New feature or request label Jan 6, 2025
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

1 participant