homebrew-cask/Casks/trinity.rb

23 lines
877 B
Ruby

cask 'trinity' do
version '1.2.1'
sha256 '924f8a902d6724e3cc009e0bda6f836e769033362e5d4ebed39c052738edd6c1'
# github.com/iotaledger/trinity-wallet was verified as official when first introduced to the cask
url "https://github.com/iotaledger/trinity-wallet/releases/download/desktop-#{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