33 lines
891 B
Ruby
33 lines
891 B
Ruby
cask "exodus" do
|
|
arch = Hardware::CPU.intel? ? "macos" : "macos-arm64"
|
|
|
|
version "21.12.3"
|
|
|
|
if arch == "macos"
|
|
sha256 "9abbd9ac93adef3d0ef3e50f8257d0edb48c0bc97bd3d2034ecb668b8d8b3153"
|
|
else
|
|
sha256 "bf56db014a2f3500e2170f62c6b0fc717239dce6be5910ddc3e659b2b7970b7d"
|
|
end
|
|
|
|
url "https://downloads.exodus.com/releases/exodus-#{arch}-#{version}.dmg"
|
|
name "Exodus"
|
|
desc "Desktop wallet for cryptocurrency assets"
|
|
homepage "https://www.exodus.com/"
|
|
|
|
livecheck do
|
|
url "https://www.exodus.com/releases/"
|
|
regex(%r{/hashes[._-]exodus[._-]?v?(\d+(?:\.\d+)+)\.txt}i)
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Exodus.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Exodus",
|
|
"~/Library/Preferences/com.electron.exodus.helper.plist",
|
|
"~/Library/Preferences/com.electron.exodus.plist",
|
|
"~/Library/Saved Application State/com.electron.exodus.savedState",
|
|
]
|
|
end
|