homebrew-cask/Casks/etcher.rb

21 lines
860 B
Ruby

cask 'etcher' do
version '1.0.0-rc.5'
sha256 '119840577a54057d4893b27e8ea67e700949097ca09ea2b9b9070a7f43d10f50'
# resin-production-downloads.s3.amazonaws.com was verified as official when first introduced to the cask
url "https://resin-production-downloads.s3.amazonaws.com/etcher/#{version}/Etcher-#{version}-darwin-x64.dmg"
appcast 'https://github.com/resin-io/etcher/releases.atom',
checkpoint: '8768b21701a9b4540cd06c243bbe06dea6b13b1a7b974f7b59cab632dd9733d6'
name 'Etcher'
homepage 'https://etcher.io/'
app 'Etcher.app'
zap delete: [
'~/Library/Application Support/etcher',
'~/Library/Preferences/io.resin.etcher.helper.plist',
'~/Library/Preferences/io.resin.etcher.plist',
'~/Library/Saved Application State/io.resin.etcher.savedState',
]
end