Files
homebrew-cask/Casks/b/balenaetcher.rb
T
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

27 lines
766 B
Ruby

cask "balenaetcher" do
version "1.18.11"
sha256 "251f403b79f53bbf7c558cb0b6ce085bd9d4f1fb7f70d96fdfc10ecbc493e70f"
url "https://github.com/balena-io/etcher/releases/download/v#{version}/balenaEtcher-#{version}.dmg",
verified: "github.com/balena-io/etcher/"
name "Etcher"
desc "Tool to flash OS images to SD cards & USB drives"
homepage "https://balena.io/etcher"
livecheck do
url :url
strategy :github_latest
end
app "balenaEtcher.app"
uninstall quit: "io.balena.etcher.*"
zap trash: [
"~/Library/Application Support/balena-etcher",
"~/Library/Preferences/io.balena.etcher.helper.plist",
"~/Library/Preferences/io.balena.etcher.plist",
"~/Library/Saved Application State/io.balena.etcher.savedState",
]
end