homebrew-cask/Casks/cockatrice.rb

31 lines
1.3 KiB
Ruby

cask 'cockatrice' do
version '2017-01-20,All_Hallows_Eve_Revision2'
sha256 '283e2e66b1970f749889743758de5974a34549eb53d83d8dcf2109ce5588f3e7'
# github.com/Cockatrice/Cockatrice was verified as official when first introduced to the cask
url "https://github.com/Cockatrice/Cockatrice/releases/download/#{version.before_comma}-Release/Cockatrice_#{version.after_comma}_osx.dmg"
appcast 'https://github.com/Cockatrice/Cockatrice/releases.atom',
checkpoint: 'dff341b93a27245f9bc4a99d4abc4a591ac961ba2994e2accfd03e745fc4c1b6'
name 'Cockatrice'
homepage 'http://www.woogerworks.com/'
app 'cockatrice.app'
app 'oracle.app'
app 'servatrice.app'
uninstall quit: [
'com.cockatrice.cockatrice',
'com.cockatrice.oracle',
'com.cockatrice.servatrice',
]
zap delete: [
'~/Library/Application Support/Cockatrice',
'~/Library/Preferences/com.cockatrice.Cockatrice.plist',
'~/Library/Preferences/com.cockatrice.oracle.plist',
'~/Library/Preferences/de.cockatrice.Cockatrice.plist',
'~/Library/Saved Application State/com.cockatrice.cockatrice.savedState',
'~/Library/Saved Application State/com.cockatrice.oracle.savedState',
]
end