homebrew-cask/Casks/textmate.rb

26 lines
1.2 KiB
Ruby

cask 'textmate' do
version '2.0-beta.12.11'
sha256 '23725f259327b175a842dfb77eaed1ca18ae8a89743b8563049743073f805a6d'
# 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: '6771ca508cd7ec19b3746913dcf636925f0bad4b26e4b167effcc45b7f4f326d'
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