From d839b910fba7af19e5b309fed5840ddffc10a4bb Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 8 Oct 2018 15:19:54 +0200 Subject: [PATCH] Remove `accessibility_access` stanza. (#53066) --- Casks/alfred.rb | 1 - Casks/amethyst.rb | 2 -- Casks/arranger.rb | 1 - Casks/bettertouchtool.rb | 1 - Casks/conductor.rb | 2 -- Casks/finderminder.rb | 2 -- Casks/functionflip.rb | 5 ----- Casks/gotiengviet.rb | 2 -- Casks/hammerspoon.rb | 1 - Casks/keycastr.rb | 2 -- Casks/mattr-slate.rb | 1 - Casks/modmove.rb | 2 -- Casks/nativedisplaybrightness.rb | 2 -- Casks/phoenix.rb | 1 - Casks/plover.rb | 2 -- Casks/qblocker.rb | 2 -- Casks/qbserve.rb | 1 - Casks/shiftit.rb | 1 - Casks/shortcat.rb | 2 -- Casks/shortcutdetective.rb | 2 -- Casks/sizeup.rb | 1 - Casks/slate.rb | 2 -- Casks/spectacle.rb | 1 - Casks/textexpander.rb | 1 - Casks/typinator.rb | 2 -- doc/cask_language_reference/all_stanzas.md | 1 - doc/cask_language_reference/readme.md | 1 - 27 files changed, 44 deletions(-) diff --git a/Casks/alfred.rb b/Casks/alfred.rb index 9caf0297f2811..e90f78a0d5861 100644 --- a/Casks/alfred.rb +++ b/Casks/alfred.rb @@ -8,7 +8,6 @@ homepage 'https://www.alfredapp.com/' auto_updates true - accessibility_access true app "Alfred #{version.major}.app" diff --git a/Casks/amethyst.rb b/Casks/amethyst.rb index c4cbbb462b78a..49f8f746a472b 100644 --- a/Casks/amethyst.rb +++ b/Casks/amethyst.rb @@ -18,8 +18,6 @@ name 'Amethyst' homepage 'https://ianyh.com/amethyst/' - accessibility_access true - app 'Amethyst.app' uninstall login_item: 'Amethyst' diff --git a/Casks/arranger.rb b/Casks/arranger.rb index b50a07b656fd7..b5dd5dec8de00 100644 --- a/Casks/arranger.rb +++ b/Casks/arranger.rb @@ -7,7 +7,6 @@ name 'Arranger' homepage 'http://bucketomac.de/?cat=14' - accessibility_access true depends_on macos: '>= :mountain_lion' app 'Arranger.app' diff --git a/Casks/bettertouchtool.rb b/Casks/bettertouchtool.rb index cf633a65adf9e..4777b4918cc40 100644 --- a/Casks/bettertouchtool.rb +++ b/Casks/bettertouchtool.rb @@ -30,7 +30,6 @@ homepage 'https://folivora.ai/' auto_updates true - accessibility_access true app 'BetterTouchTool.app' diff --git a/Casks/conductor.rb b/Casks/conductor.rb index 05aafe771bfbf..ba9ad024b9d68 100644 --- a/Casks/conductor.rb +++ b/Casks/conductor.rb @@ -7,7 +7,5 @@ name 'Conductor' homepage 'https://github.com/keith/conductor' - accessibility_access true - app 'Conductor.app' end diff --git a/Casks/finderminder.rb b/Casks/finderminder.rb index 02b5ca799e50d..8fafd3f6be6f2 100644 --- a/Casks/finderminder.rb +++ b/Casks/finderminder.rb @@ -7,8 +7,6 @@ name 'FinderMinder' homepage 'https://www.irradiatedsoftware.com/labs/' - accessibility_access true - app 'FinderMinder.app' zap trash: '~/Library/Preferences/com.irradiatedsoftware.FinderMinder.plist' diff --git a/Casks/functionflip.rb b/Casks/functionflip.rb index 89e54ec986dc3..e722b5cedd8be 100644 --- a/Casks/functionflip.rb +++ b/Casks/functionflip.rb @@ -7,10 +7,5 @@ name 'FunctionFlip' homepage 'http://kevingessner.com/software/functionflip/' - # FIXME: `accessibility_access true` only works on the first - # `app` stanza, but should ideally take a bundle id - # - # accessibility_access 'com.kevingessner.FFHelperApp' - prefpane 'FunctionFlip.prefPane' end diff --git a/Casks/gotiengviet.rb b/Casks/gotiengviet.rb index b2c54a8dc6d65..06c1ab02371c9 100644 --- a/Casks/gotiengviet.rb +++ b/Casks/gotiengviet.rb @@ -6,8 +6,6 @@ name 'GoTiengViet' homepage 'https://www.trankynam.com/gotv/' - accessibility_access true - app 'GoTiengViet.app' uninstall login_item: 'GoTiengViet' diff --git a/Casks/hammerspoon.rb b/Casks/hammerspoon.rb index 44f43f9db21f5..95ebc89bc92d0 100644 --- a/Casks/hammerspoon.rb +++ b/Casks/hammerspoon.rb @@ -14,7 +14,6 @@ homepage 'https://www.hammerspoon.org/' auto_updates true - accessibility_access true app 'Hammerspoon.app' diff --git a/Casks/keycastr.rb b/Casks/keycastr.rb index 46b5d5d9470ee..cceb28826eaf4 100644 --- a/Casks/keycastr.rb +++ b/Casks/keycastr.rb @@ -7,7 +7,5 @@ name 'KeyCastr' homepage 'https://github.com/keycastr/keycastr' - accessibility_access true - app 'KeyCastr.app' end diff --git a/Casks/mattr-slate.rb b/Casks/mattr-slate.rb index 0a5a387b02922..a636cfcb0ac74 100644 --- a/Casks/mattr-slate.rb +++ b/Casks/mattr-slate.rb @@ -8,7 +8,6 @@ homepage 'https://github.com/mattr-/slate' auto_updates true - accessibility_access true conflicts_with cask: 'slate' app 'Slate.app' diff --git a/Casks/modmove.rb b/Casks/modmove.rb index 5918880961326..cb4ae259bb610 100644 --- a/Casks/modmove.rb +++ b/Casks/modmove.rb @@ -7,7 +7,5 @@ name 'ModMove' homepage 'https://github.com/keith/modmove' - accessibility_access true - app 'ModMove.app' end diff --git a/Casks/nativedisplaybrightness.rb b/Casks/nativedisplaybrightness.rb index 33d4662ecee3c..1ac7ff64be822 100644 --- a/Casks/nativedisplaybrightness.rb +++ b/Casks/nativedisplaybrightness.rb @@ -7,8 +7,6 @@ name 'NativeDisplayBrightness' homepage 'https://github.com/Bensge/NativeDisplayBrightness/' - accessibility_access true - app 'NativeDisplayBrightness.app' uninstall login_item: 'NativeDisplayBrightness', diff --git a/Casks/phoenix.rb b/Casks/phoenix.rb index 6c3e624640dd0..35217af41baff 100644 --- a/Casks/phoenix.rb +++ b/Casks/phoenix.rb @@ -7,7 +7,6 @@ name 'Phoenix' homepage 'https://github.com/kasper/phoenix/' - accessibility_access true depends_on macos: '>= :yosemite' app 'Phoenix.app' diff --git a/Casks/plover.rb b/Casks/plover.rb index 893a4c6ac900a..5be85a786b25b 100644 --- a/Casks/plover.rb +++ b/Casks/plover.rb @@ -8,8 +8,6 @@ name 'Plover' homepage 'https://stenoknight.com/wiki/Main_Page' - accessibility_access true - app 'Plover.app' zap trash: '~/Library/Application Support/plover/' diff --git a/Casks/qblocker.rb b/Casks/qblocker.rb index f371b08b878f8..63a2da9bf2142 100644 --- a/Casks/qblocker.rb +++ b/Casks/qblocker.rb @@ -8,8 +8,6 @@ name 'QBlocker' homepage 'https://qblocker.com/' - accessibility_access true - app 'QBlocker.app' zap trash: [ diff --git a/Casks/qbserve.rb b/Casks/qbserve.rb index 440203eba1da8..b4e2c8a13b3c2 100644 --- a/Casks/qbserve.rb +++ b/Casks/qbserve.rb @@ -7,7 +7,6 @@ name 'Qbserve' homepage 'https://qotoqot.com/qbserve/' - accessibility_access true depends_on macos: '>= :yosemite' app 'Qbserve.app' diff --git a/Casks/shiftit.rb b/Casks/shiftit.rb index b545813bee803..7cab8823fba0e 100644 --- a/Casks/shiftit.rb +++ b/Casks/shiftit.rb @@ -8,7 +8,6 @@ homepage 'https://github.com/fikovnik/ShiftIt/' auto_updates true - accessibility_access true app 'ShiftIt.app' diff --git a/Casks/shortcat.rb b/Casks/shortcat.rb index 43ea14752572b..31d463253c04b 100644 --- a/Casks/shortcat.rb +++ b/Casks/shortcat.rb @@ -7,8 +7,6 @@ name 'Sproutcube Shortcat' homepage 'https://shortcatapp.com/' - accessibility_access true - app 'Shortcat.app' zap trash: [ diff --git a/Casks/shortcutdetective.rb b/Casks/shortcutdetective.rb index 17f157e9d24a1..73d0f37c91c3d 100644 --- a/Casks/shortcutdetective.rb +++ b/Casks/shortcutdetective.rb @@ -7,8 +7,6 @@ name 'ShortcutDetective' homepage 'https://www.irradiatedsoftware.com/labs/' - accessibility_access true - app 'ShortcutDetective.app' zap trash: '~/Library/Preferences/com.irradiatedsoftware.ShortcutDetective.plist' diff --git a/Casks/sizeup.rb b/Casks/sizeup.rb index ec887770626bc..2c8db377d4daa 100644 --- a/Casks/sizeup.rb +++ b/Casks/sizeup.rb @@ -8,7 +8,6 @@ homepage 'https://www.irradiatedsoftware.com/sizeup/' auto_updates true - accessibility_access true app 'SizeUp.app' diff --git a/Casks/slate.rb b/Casks/slate.rb index 9b84827d730f8..d0138b73daca5 100644 --- a/Casks/slate.rb +++ b/Casks/slate.rb @@ -8,8 +8,6 @@ name 'Slate' homepage 'https://github.com/jigish/slate' - accessibility_access true - app 'Slate.app' zap trash: [ diff --git a/Casks/spectacle.rb b/Casks/spectacle.rb index 9e3804dd0ce8d..2d6d903be70b0 100644 --- a/Casks/spectacle.rb +++ b/Casks/spectacle.rb @@ -15,7 +15,6 @@ homepage 'https://www.spectacleapp.com/' auto_updates true - accessibility_access true depends_on macos: '>= :lion' app 'Spectacle.app' diff --git a/Casks/textexpander.rb b/Casks/textexpander.rb index 29839068b4cfa..8e8a9ab10b79e 100644 --- a/Casks/textexpander.rb +++ b/Casks/textexpander.rb @@ -9,7 +9,6 @@ homepage 'https://smilesoftware.com/TextExpander' auto_updates true - accessibility_access true app 'TextExpander.app' diff --git a/Casks/typinator.rb b/Casks/typinator.rb index 7a4929939e5fc..7a993b3d71f78 100644 --- a/Casks/typinator.rb +++ b/Casks/typinator.rb @@ -8,7 +8,5 @@ name 'Typinator' homepage 'https://www.ergonis.com/' - accessibility_access true - app 'Typinator.app' end diff --git a/doc/cask_language_reference/all_stanzas.md b/doc/cask_language_reference/all_stanzas.md index 372ca215ea523..ea3daac2eb879 100644 --- a/doc/cask_language_reference/all_stanzas.md +++ b/doc/cask_language_reference/all_stanzas.md @@ -53,7 +53,6 @@ Each Cask must declare one or more *artifacts* (i.e. something to install). | `uninstall_preflight` | yes | a Ruby block containing preflight uninstall operations (needed only in very rare cases) | `uninstall_postflight` | yes | a Ruby block containing postflight uninstall operations | `language` | required | a Ruby block, called with language code parameters, containing other stanzas and/or a return value -| `accessibility_access` | no | `true` if the application should be granted accessibility access | `container nested:` | no | relative path to an inner container that must be extracted before moving on with the installation; this allows us to support dmg inside tar, zip inside dmg, etc. | `container type:` | no | a symbol to override container-type autodetect. May be one of: `:air`, `:bz2`, `:cab`, `:dmg`, `:generic_unar`, `:gzip`, `:otf`, `:pkg`, `:rar`, `:seven_zip`, `:sit`, `:tar`, `:ttf`, `:xar`, `:zip`, `:naked`. (example [parse.rb](https://github.com/Homebrew/homebrew-cask/blob/312ae841f1f1b2ec07f4d88b7dfdd7fbdf8d4f94/Casks/parse.rb#L11)) | `auto_updates` | no | `true`. Assert the Cask artifacts auto-update. Use if `Check for Updates…` or similar is present in app menu, but not if it only opens a webpage and does not do the download and installation for you. diff --git a/doc/cask_language_reference/readme.md b/doc/cask_language_reference/readme.md index 2d17d81cd9e34..fb5e19c179ca6 100644 --- a/doc/cask_language_reference/readme.md +++ b/doc/cask_language_reference/readme.md @@ -127,7 +127,6 @@ name homepage auto_updates -accessibility_access conflicts_with depends_on container