homebrew-cask/Casks/trinity.rb

23 lines
869 B
Ruby

cask 'trinity' do
version '0.4.4'
sha256 '407de95e33e4d221073f7d62866c938c6477d404e961a77b58011b518e52c9d8'
# github.com/iotaledger/trinity-wallet was verified as official when first introduced to the cask
url "https://github.com/iotaledger/trinity-wallet/releases/download/#{version}/trinity-desktop-#{version}.dmg"
appcast 'https://github.com/iotaledger/trinity-wallet/releases.atom'
name 'IOTA Trinity Wallet'
homepage 'https://trinity.iota.org/'
app 'Trinity.app'
uninstall quit: 'org.iota.trinity'
zap trash: [
'~/Library/Application Support/Trinity',
'~/Library/Logs/Trinity',
'~/Library/Preferences/org.iota.trinity.helper.plist',
'~/Library/Preferences/org.iota.trinity.plist',
'~/Library/Saved Application State/org.iota.trinity.savedState',
]
end