homebrew-cask/Casks/gnucash.rb

19 lines
730 B
Ruby

cask 'gnucash' do
version '3.7,1'
sha256 'b687fb0a17b15e735a29be83354409fb8059aebf0bd97079b74eac3dfc4cbeac'
# github.com/Gnucash/gnucash was verified as official when first introduced to the cask
url "https://github.com/Gnucash/gnucash/releases/download/#{version.before_comma}/Gnucash-Intel-#{version.before_comma}-#{version.after_comma}.dmg"
appcast 'https://github.com/Gnucash/gnucash/releases.atom'
name 'GnuCash'
homepage 'https://www.gnucash.org/'
app 'Gnucash.app'
zap trash: [
'~/Library/Application Support/Gnucash',
'~/Library/Preferences/org.gnucash.Gnucash.plist',
'~/Library/Saved Application State/org.gnucash.Gnucash.savedState',
]
end