homebrew-cask/Casks/amethyst.rb

25 lines
938 B
Ruby

cask 'amethyst' do
version '0.9.10'
sha256 '82adf42ce6031ab59a3072e607788e73f594ad5f21c7118aabc6c5dafe3d0b47'
url "https://ianyh.com/amethyst/versions/Amethyst-#{version}.zip"
appcast 'https://ianyh.com/amethyst/appcast.xml',
:sha256 => '160954d849522a05450dbc1a0c2810a9764e61330b4aaad03ddf206fee1107a6'
name 'Amethyst'
homepage 'https://ianyh.com/amethyst'
license :mit
accessibility_access true
app 'Amethyst.app'
uninstall :login_item => 'Amethyst'
zap :delete => [
'~/Library/Caches/com.amethyst.Amethyst',
'~/Library/Preferences/com.amethyst.Amethyst.plist',
'~/Library/Cookies/com.amethyst.Amethyst.binarycookies',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.amethyst.amethyst.sfl',
]
end