Files
homebrew-cask/Casks/r/raspberry-pi-imager.rb

24 lines
761 B
Ruby

cask "raspberry-pi-imager" do
version "1.8.3"
sha256 "e3597de68153f0cac8b2a5bf1938fcdfe3bd8cedc3d87fec96d1aa6c8b997c4c"
url "https://github.com/raspberrypi/rpi-imager/releases/download/v#{version}/Raspberry.Pi.Imager.#{version}-UNIVERSAL-BUILD.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