homebrew-cask/Casks/hex-fiend.rb

21 lines
906 B
Ruby

cask 'hex-fiend' do
version '2.8.0'
sha256 '42dab86945759333669bbe2dc01c20294ee5ec5f87530e654454cdb2853736cb'
# 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',
checkpoint: '356d40d0edce7acc0a69f8113ed7a39a0eba16846d384f4b5907ae9498500755'
name 'Hex Fiend'
homepage 'http://ridiculousfish.com/hexfiend/'
app 'Hex Fiend.app'
binary "#{appdir}/Hex Fiend.app/Contents/Resources/hexf"
zap delete: [
'~/Library/Caches/com.ridiculousfish.HexFiend',
'~/Library/Saved Application State/com.ridiculousfish.HexFiend.savedState',
],
trash: '~/Library/Preferences/com.ridiculousfish.HexFiend.plist'
end