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

How do I automatically update the hash after updating yabai? #2092

Closed
CassandraCat opened this issue Feb 13, 2024 · 1 comment
Closed

How do I automatically update the hash after updating yabai? #2092

CassandraCat opened this issue Feb 13, 2024 · 1 comment

Comments

@CassandraCat
Copy link

Every time I update yabai, I have to manually update the hash.

@koekeishiya
Copy link
Owner

koekeishiya commented Feb 13, 2024

Maybe something like this will work (use at your own risk):

echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai

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

No branches or pull requests

2 participants