23 lines
876 B
Ruby
23 lines
876 B
Ruby
cask 'hex-fiend' do
|
|
version '2.12.0'
|
|
sha256 '79d581677e912e10db9023fe80376ffd36a53cf06c8c6e3f5dac8be096e4bbbb'
|
|
|
|
# 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/'
|
|
|
|
auto_updates true
|
|
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
|