Files
homebrew-cask/Casks/f/firefly.rb
T
2024-02-13 08:09:11 -05:00

33 lines
861 B
Ruby

cask "firefly" do
version "2.0.7"
sha256 "daad717ce9e7c1077dd5b5de1a4e16cfc6bd4efae79f7150c5b5cd4ae6311656"
url "https://dl.firefly.iota.org/firefly-iota-desktop-#{version}.dmg"
name "Firefly"
desc "Official wallet for IOTA"
homepage "https://firefly.iota.org/"
livecheck do
url "https://dl.firefly.iota.org/latest-mac.yml"
regex(/firefly[._-]desktop[._-]v?(\d+(?:\.\d+)+)/i)
strategy :yaml do |yaml|
yaml["version"]
end
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Firefly.app"
uninstall quit: "org.iota.firefly"
zap trash: [
"~/Library/Application Support/Firefly",
"~/Library/Logs/Firefly",
"~/Library/Preferences/org.iota.firefly.helper.plist",
"~/Library/Preferences/org.iota.firefly.plist",
"~/Library/Saved Application State/org.iota.firefly.savedState",
]
end