homebrew-cask/Casks/textmate.rb

26 lines
1.2 KiB
Ruby

cask 'textmate' do
version '2.0-beta.12.14'
sha256 '20becdd4b8ff6a375b9bf8c934170eaf3866c583edc82d37a44195f0fce39dce'
# github.com/textmate/textmate was verified as official when first introduced to the cask
url "https://github.com/textmate/textmate/releases/download/v#{version}/TextMate_#{version}.tbz"
appcast 'https://github.com/textmate/textmate/releases.atom',
checkpoint: '9f817207ebcec4453c5153b64b396d993534096f0b8fc257edd233a7f6d1b8d0'
name 'TextMate'
homepage 'https://macromates.com/'
license :gpl
app 'TextMate.app'
binary "#{appdir}/TextMate.app/Contents/Resources/mate"
zap delete: [
'~/Library/Application Support/Avian',
'~/Library/Application Support/TextMate',
'~/Library/Preferences/com.macromates.TextMate.preview.LSSharedFileList.plist',
'~/Library/Preferences/com.macromates.TextMate.preview.plist',
'~/Library/Preferences/com.macromates.textmate.webpreview.plist',
'~/Library/Preferences/com.macromates.textmate.plist',
'~/Library/Preferences/com.macromates.textmate.latex_config.plist',
]
end