homebrew-cask/Casks/cockatrice.rb

32 lines
1.3 KiB
Ruby

cask 'cockatrice' do
version '2.7.0,2019-03-04:Marchesas_Revenge'
sha256 '0ba1f248be69101803aecd6a7c3ab4eadadc9fee7a84e5f57d3403f47030e813'
# 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}_1-osx.dmg"
appcast 'https://github.com/Cockatrice/Cockatrice/releases.atom'
name 'Cockatrice'
homepage 'https://cockatrice.github.io/'
depends_on macos: '>= :sierra'
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