cask "raspberry-pi-imager" do version "1.9.0" sha256 "c397823864f22eab694f2160a9e92debc1b439a2bece744545ca8dafda39eaae" url "https://github.com/raspberrypi/rpi-imager/releases/download/v#{version}/Raspberry.Pi.Imager-#{version}.dmg", verified: "github.com/raspberrypi/rpi-imager/" name "Raspberry Pi Imager" desc "Imaging utility to install operating systems to a microSD card" homepage "https://www.raspberrypi.org/downloads/" livecheck do url :url strategy :github_latest end app "Raspberry Pi Imager.app" zap trash: [ "~/Library/Caches/Raspberry Pi", "~/Library/Preferences/org.raspberrypi.Imager.plist", "~/Library/Saved Application State/org.raspberrypi.imagingutility.savedState", ] end