Merge pull request #7652 from gibfahn/cask_caveat_unsigned_accessibility
caveats: add an unsigned_accessibility caveat message
This commit is contained in:
commit
d9dc809c9c
@ -58,6 +58,19 @@ module Cask
|
|||||||
EOS
|
EOS
|
||||||
end
|
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}
|
||||||
|
To re-enable untick and retick #{@cask}.app.
|
||||||
|
EOS
|
||||||
|
end
|
||||||
|
|
||||||
caveat :path_environment_variable do |path|
|
caveat :path_environment_variable do |path|
|
||||||
<<~EOS
|
<<~EOS
|
||||||
To use #{@cask}, you may need to add the #{path} directory
|
To use #{@cask}, you may need to add the #{path} directory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user