Skip to content

Commit

Permalink
Merge pull request #7849 from rolandwalker/remove_assistive_devices_i…
Browse files Browse the repository at this point in the history
…n_casks

Remove assistive_devices caveat in 4 Casks
  • Loading branch information
rolandwalker committed Dec 6, 2014
2 parents a870869 + 475773f commit 30efaf6
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 9 deletions.
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

0 comments on commit 30efaf6

Please sign in to comment.