homebrew-cask/Casks/cryptonomic-galleon.rb

25 lines
834 B
Ruby

cask "cryptonomic-galleon" do
version "1.2.6b"
sha256 "485712f75a5d1b8e001f821ab37c890126d90edab0175f818d40c5801e36a80c"
url "https://cryptonomic-wallet.nyc3.digitaloceanspaces.com/release_#{version}/Galleon-#{version.delete_suffix("b")}.dmg",
verified: "cryptonomic-wallet.nyc3.digitaloceanspaces.com"
name "Galleon"
desc "Software wallet for the Tezos blockchain"
homepage "https://cryptonomic.tech/galleon.html"
livecheck do
url "https://github.com/Cryptonomic/Deployments/wiki/Galleon%3A-Releases"
strategy :page_match
regex(/Galleon\s*(\d+(?:\.\d+)+\w)/i)
end
app "Galleon.app"
zap trash: [
"~/Library/Application Support/Galleon",
"~/Library/Preferences/tech.galleon-wallet.galleon.plist",
"~/Library/Saved Application State/tech.galleon-wallet.galleon.savedState",
]
end