homebrew-cask/Casks/s/specter.rb

27 lines
859 B
Ruby

cask "specter" do
version "2.0.5"
sha256 "2419d08e0cc32c6c1e8d7f09af90e4e867d786bc51ee238f62ff741785caccc3"
url "https://github.com/cryptoadvance/specter-desktop/releases/download/v#{version}/Specter-v#{version}.dmg",
verified: "github.com/cryptoadvance/specter-desktop/"
name "Specter"
desc "Desktop GUI for Bitcoin Core optimised to work with hardware wallets"
homepage "https://specter.solutions/"
livecheck do
url "https://github.com/cryptoadvance/specter-desktop/releases/"
regex(%r{v?(\d+(?:\.\d+)+)/Specter.*?\.dmg}i)
strategy :page_match
end
depends_on macos: ">= :catalina"
app "Specter.app"
zap trash: [
"~/Library/Application Support/specter-desktop",
"~/Library/Preferences/solutions.specter.desktop.plist",
"~/Library/Saved Application State/solutions.specter.desktop.savedState",
]
end