24 lines
761 B
Ruby
24 lines
761 B
Ruby
cask "raspberry-pi-imager" do
|
|
version "1.7.5"
|
|
sha256 "03f73b1402acd52718e27496e8c2a3778f5fc1d6845cd19b04318ffde24d6c4b"
|
|
|
|
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
|