cask "firefly" do version "2.0.12" sha256 "2f93d313a27ceea7604b5da7769fcee6a378a592f1b37a760fc4d8a4d5bb6e7c" 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" strategy :electron_builder 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", ] caveats do requires_rosetta end end