homebrew-cask/Casks/keyboard-maestro.rb

27 lines
1.3 KiB
Ruby

cask 'keyboard-maestro' do
version '9.0.2'
sha256 'b1b03d8e043802e604b3b4b6767473af9145904662e0ac33dd1243402a1c7a27'
# stairways.com was verified as official when first introduced to the cask
url "https://files.stairways.com/keyboardmaestro-#{version.no_dots}.zip"
appcast 'https://www.keyboardmaestro.com/action/sivc?M&U&08248000&6ABF5EF7&xxxxxxxx&00000000&000010E0&KM&EN'
name 'Keyboard Maestro'
homepage 'https://www.keyboardmaestro.com/main/'
depends_on macos: '>= :yosemite'
app 'Keyboard Maestro.app'
zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.stairways.keyboardmaestro.editor.sfl*',
'~/Library/Application Support/Keyboard Maestro',
'~/Library/Caches/com.stairways.keyboardmaestro.editor',
'~/Library/Caches/com.stairways.keyboardmaestro.engine',
'~/Library/Logs/Keyboard Maestro',
'~/Library/Preferences/com.stairways.keyboardmaestro.editor.plist',
'~/Library/Preferences/com.stairways.keyboardmaestro.engine.plist',
'~/Library/Preferences/com.stairways.keyboardmaestro.plist',
'~/Library/Saved Application State/com.stairways.keyboardmaestro.editor.savedState',
]
end