Merge pull request #14092 from moabits/master
caveats: Update message displayed by unsigned_accessibility
This commit is contained in:
commit
5468c2d642
@ -69,14 +69,20 @@ module Cask
|
|||||||
end
|
end
|
||||||
|
|
||||||
caveat :unsigned_accessibility do |access = "Accessibility"|
|
caveat :unsigned_accessibility do |access = "Accessibility"|
|
||||||
# access: the category in System Preferences > Security & Privacy > Privacy the app requires.
|
# access: the category in the privacy settings the app requires.
|
||||||
|
|
||||||
|
navigation_path = if MacOS.version < :ventura
|
||||||
|
"System Preferences → Security & Privacy → Privacy"
|
||||||
|
else
|
||||||
|
"System Settings → Privacy & Security"
|
||||||
|
end
|
||||||
|
|
||||||
<<~EOS
|
<<~EOS
|
||||||
#{@cask} is not signed and requires Accessibility access,
|
#{@cask} is not signed and requires Accessibility access,
|
||||||
so you will need to re-grant Accessibility access every time the app is updated.
|
so you will need to re-grant Accessibility access every time the app is updated.
|
||||||
|
|
||||||
Enable or re-enable it in:
|
Enable or re-enable it in:
|
||||||
System Preferences → Security & Privacy → Privacy → #{access}
|
#{navigation_path} → #{access}
|
||||||
To re-enable, untick and retick #{@cask}.app.
|
To re-enable, untick and retick #{@cask}.app.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user