homebrew-cask/Casks/trinity.rb

23 lines
869 B
Ruby

cask 'trinity' do
version '0.4.6'
sha256 '17e71ab333ff20ffa5156ae72a3fe35cc072aa4319bd6e800293b5bae6db3f40'
# 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