Skip to content

Conversation

@bxm156
Copy link

@bxm156 bxm156 commented Dec 26, 2025

MacOS and Linux.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

Add service support to kanata to support auto start on
MacOS and Linux.
@github-actions github-actions bot added the rust Rust use is a significant feature of the PR or issue label Dec 26, 2025
Comment on lines +24 to +41
def caveats
<<~EOS
Post Install Instructions:
Please see instructions for MacOS at https://github.com/jtroo/kanata/releases

1. Karabiner Driver
This formula requires a specific version of the Karabiner driver to be installed.

2. Permissions:
This formula requires Accessibility and Input Monitoring permissions to function correctly.
After installing, please grant these permissions in System Settings.

Drag and drop the kanata binary: #{opt_bin}/kanata
-> Into System Settings -> Privacy & Security -> Accessibility
and
-> System Settings -> Privacy & Security -> Input Monitoring
EOS
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part isn't homebrew specific, so it should be upstream manual or else and remove from caveats.

end

service do
require_root true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During our test, there is no sudo privilege, is this required for sure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants