homebrew-cask/Casks/trinity.rb

23 lines
812 B
Ruby

cask "trinity" do
version "1.6.1"
sha256 "1f4c7b31889899472b220a5e986d183efba04e129643ca9e75405fd1e241050e"
# 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