homebrew-cask/Casks/textmate.rb

25 lines
1.1 KiB
Ruby

cask 'textmate' do
version '2.0-beta.12.33'
sha256 '10752739b5a0af96d6a45ec7220f13e5452ff372bed7a9ef52452595f84e4da2'
# 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: 'b060d402f446bbcd4bf57b2680ccbea30b834a6eb7d377b8c6330703be91fe26'
name 'TextMate'
homepage 'https://macromates.com/'
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