Skip to content
Snippets Groups Projects
Commit 3c31e29d authored by Alex's avatar Alex Committed by GitHub
Browse files

Simplify accessibility access disable warnings

parent d282565b
No related branches found
No related tags found
No related merge requests found
......@@ -253,12 +253,7 @@ class Hbc::Installer
def disable_accessibility_access
return unless @cask.accessibility_access
if MacOS.version <= :mountain_lion
opoo <<-EOS.undent
Accessibility access was enabled for #{@cask}, but it is not safe to disable
automatically on this version of macOS. See System Preferences.
EOS
elsif MacOS.version <= :el_capitan
if MacOS.version >= :mavericks && MacOS.version <= :el_capitan
ohai "Disabling accessibility access"
@command.run!("/usr/bin/sqlite3",
args: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment