homebrew-cask/Casks/hex-fiend.rb

22 lines
856 B
Ruby

cask 'hex-fiend' do
version '2.10.0'
sha256 '80cb67e6147c443c8e2206c97f33951edb12b88b9de25e8d1cb9161b4af0f58f'
# github.com/ridiculousfish/HexFiend was verified as official when first introduced to the cask
url "https://github.com/ridiculousfish/HexFiend/releases/download/v#{version}/Hex_Fiend_#{version.major_minor}.dmg"
appcast 'https://github.com/ridiculousfish/HexFiend/releases.atom'
name 'Hex Fiend'
homepage 'https://ridiculousfish.com/hexfiend/'
conflicts_with cask: 'hex-fiend-beta'
app 'Hex Fiend.app'
binary "#{appdir}/Hex Fiend.app/Contents/Resources/hexf"
zap trash: [
'~/Library/Caches/com.ridiculousfish.HexFiend',
'~/Library/Preferences/com.ridiculousfish.HexFiend.plist',
'~/Library/Saved Application State/com.ridiculousfish.HexFiend.savedState',
]
end