28 lines
704 B
Ruby
28 lines
704 B
Ruby
cask "dash-dash" do
|
|
version "19.3.0"
|
|
sha256 "531bb188c1aea808ef6f3533d71182a51958136f6e43d9fcadaef1a5fcdd0468"
|
|
|
|
url "https://github.com/dashpay/dash/releases/download/v#{version}/dashcore-#{version}-osx.dmg",
|
|
verified: "github.com/dashpay/dash/"
|
|
name "Dash"
|
|
desc "Dash - Reinventing Cryptocurrency"
|
|
homepage "https://www.dash.org/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
app "Dash-Qt.app"
|
|
|
|
preflight do
|
|
set_permissions "#{staged_path}/Dash-Qt.app", "0755"
|
|
end
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/DashCore",
|
|
"~/Library/Preferences/org.dash.Dash-Qt.plist",
|
|
"~/Library/Saved Application State/org.dash.Dash-Qt.savedState",
|
|
]
|
|
end
|