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) } sig { returns(String) }
def automation_access_instructions def automation_access_instructions
"Enable Automation Access for “Terminal > System Events” in " \ <<~EOS
"“System Preferences > Security > Privacy > Automation” if you haven't already." Enable Automation access for "Terminal → System Events" in:
System Preferences Security & Privacy Privacy Automation
if you haven't already.
EOS
end end
# :quit/:signal must come before :kext so the kext will not be in use by a running process # :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 = Download.new(cask, **options)
download.clear_cache if args.force? download.clear_cache if args.force?
downloaded_path = download.fetch downloaded_path = download.fetch
ohai "Success! Downloaded to -> #{downloaded_path}" ohai "Success! Downloaded to: #{downloaded_path}"
end end
end end
end end

View File

@ -69,15 +69,15 @@ 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 System Preferences > Security & Privacy > Privacy the app requires.
<<~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} System Preferences Security & Privacy Privacy #{access}
To re-enable untick and retick #{@cask}.app. To re-enable, untick and retick #{@cask}.app.
EOS EOS
end end