homebrew-cask/Casks/balenaetcher.rb

20 lines
763 B
Ruby

cask 'balenaetcher' do
version '1.4.9'
sha256 'c3e8bff5c315140080fa4e224c9684fc443f526b7dffa9fb11d0ddeca7709419'
# github.com/balena-io/etcher was verified as official when first introduced to the cask
url "https://github.com/balena-io/etcher/releases/download/v#{version}/balenaEtcher-#{version}.dmg"
appcast 'https://github.com/balena-io/etcher/releases.atom'
name 'Etcher'
homepage 'https://balena.io/etcher'
app 'balenaEtcher.app'
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