32 lines
1.3 KiB
Ruby
32 lines
1.3 KiB
Ruby
cask 'cockatrice' do
|
|
version '2.7.2,2019-08-31:Faerie_Tales'
|
|
sha256 '862ba7bdcdfef0ecd17c9b380a0f1fb9f4fcaada203a7fb7af7a837d63eaa5da'
|
|
|
|
# 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}-osx-sierra.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
|