use arrow character for UI prompts

This commit is contained in:
EricFromCanada 2020-07-06 15:31:47 -04:00
parent 2e982cd2a2
commit d0ad829e43
3 changed files with 9 additions and 6 deletions

View File

@ -133,8 +133,11 @@ module Cask
sig { returns(String) }
def automation_access_instructions
"Enable Automation Access for “Terminal > System Events” in " \
"“System Preferences > Security > Privacy > Automation” if you haven't already."
<<~EOS
Enable Automation access for "Terminal → System Events" in:
System Preferences Security & Privacy Privacy Automation
if you haven't already.
EOS
end
# :quit/:signal must come before :kext so the kext will not be in use by a running process

View File

@ -43,7 +43,7 @@ module Cask
download = Download.new(cask, **options)
download.clear_cache if args.force?
downloaded_path = download.fetch
ohai "Success! Downloaded to -> #{downloaded_path}"
ohai "Success! Downloaded to: #{downloaded_path}"
end
end
end

View File

@ -69,15 +69,15 @@ module Cask
end
caveat :unsigned_accessibility do |access = "Accessibility"|
# access: the category in System Preferences -> Security & Privacy -> Privacy the app requires.
# 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.
System Preferences Security & Privacy Privacy #{access}
To re-enable, untick and retick #{@cask}.app.
EOS
end