homebrew-cask/Casks/textmate.rb

26 lines
1.2 KiB
Ruby

cask 'textmate' do
version '2.0-beta.11.12'
sha256 '451dc7b097e6167e51ebff692e60817c4c7668d8614fd2ec7dfe451a7923edf8'
# 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: 'c678b636579580a930dc6b261d7036cbacf031ba75c07d5c5699195872e1c721'
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