Skip to content
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

Remove assistive_devices caveat in 4 Casks #7849

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Casks/arranger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@
license :unknown

app 'Arranger.app'
caveats 'Note that Arranger also needs access for assistive devices (Accessibility)'

# todo: replace with new assistive_devices stanza
caveats do
<<-EOS.undent
To use #{@cask}, you may need to give it access to assistive
devices (Accessibility). For OS X Mavericks and Above:

System Preferences / Security & Privacy / Privacy / Accessibility
EOS
end
end
15 changes: 9 additions & 6 deletions Casks/keycastr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@

app 'KeyCastr.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
For OSX 10.9 or later, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires that you "Enable access for assistive devices".
The app must be dragged into the Accessibility list in System Preferences.
See https://github.com/sdeken/keycastr/issues/5
EOS
# todo: replace with new assistive_devices stanza
caveats do
<<-EOS.undent
To use #{@cask}, you may need to give it access to assistive
devices (Accessibility). For OS X Mavericks and Above:

System Preferences / Security & Privacy / Privacy / Accessibility
EOS
end
end
8 changes: 7 additions & 1 deletion Casks/plover.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@

app 'plover.app'

# todo: replace with new assistive_devices stanza
caveats do
assistive_devices
<<-EOS.undent
To use #{@cask}, you may need to give it access to assistive
devices (Accessibility). For OS X Mavericks and Above:

System Preferences / Security & Privacy / Privacy / Accessibility
EOS
end
end
9 changes: 8 additions & 1 deletion Casks/typinator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
license :unknown

app 'Typinator.app'

# todo: replace with new assistive_devices stanza
caveats do
assistive_devices
<<-EOS.undent
To use #{@cask}, you may need to give it access to assistive
devices (Accessibility). For OS X Mavericks and Above:

System Preferences / Security & Privacy / Privacy / Accessibility
EOS
end
end