-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
caveats: add an unsigned_accessibility caveat message #7652
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,19 @@ def eval_caveats(&block) | |
EOS | ||
end | ||
|
||
caveat :unsigned_accessibility do |access = "Accessibility"| | ||
# access: the category in System Preferences -> Security & Privacy -> Privacy the app requires. | ||
|
||
<<~EOS | ||
#{@cask} is not signed and requires Accessibility access, | ||
so you will need to re-grant Accessibility access every time the app is updated. | ||
|
||
Enable or re-enable it in: | ||
System Preferences → Security & Privacy → Privacy -> #{access} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I considered actually running Also didn't document that as having two ways to do the first step is needlessly confusing. |
||
To re-enable untick and retick #{@cask}.app. | ||
EOS | ||
end | ||
|
||
caveat :path_environment_variable do |path| | ||
<<~EOS | ||
To use #{@cask}, you may need to add the #{path} directory | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this because there are other categories other than Accessibility, and I guess other apps might use different ones: