homebrew-cask/Casks/cockatrice.rb

31 lines
1.4 KiB
Ruby

cask 'cockatrice' do
version '2.5.1,2018-04-16:Decked_Out_Revision_1'
sha256 '52bdd2bb95bdfc6befe245d0822d81fe4d560205a436f7a258554c097176ea1d'
# github.com/Cockatrice/Cockatrice was verified as official when first introduced to the cask
url "https://github.com/Cockatrice/Cockatrice/releases/download/#{version.after_comma.before_colon}-Release-#{version.before_comma}/Cockatrice-#{version.after_colon}-#{version.before_comma}.dmg"
appcast 'https://github.com/Cockatrice/Cockatrice/releases.atom',
checkpoint: 'ba7f4c27bf3cf62a38e2cbb1c51203371d11a762cd2340f1070856c0f9255081'
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 trash: [
'~/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