homebrew-cask/Casks/sketch.rb

25 lines
1.0 KiB
Ruby

cask 'sketch' do
version '51.2-57519'
sha256 '0aef3d225da6e0f873ac31a01295c59b126835170931a8d81140f6a9d13ef7a8'
url "https://download.sketchapp.com/sketch-#{version}.zip"
appcast 'https://download.sketchapp.com/sketch-versions.xml'
name 'Sketch'
homepage 'https://www.sketchapp.com/'
auto_updates true
app 'Sketch.app'
zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.bohemiancoding.sketch3.sfl*',
'~/Library/Application Support/com.bohemiancoding.sketch3',
'~/Library/Caches/com.bohemiancoding.sketch3',
'~/Library/Caches/com.plausiblelabs.crashreporter.data/com.bohemiancoding.sketch3',
'~/Library/Logs/com.bohemiancoding.sketch3',
'~/Library/Preferences/com.bohemiancoding.sketch3.LSSharedFileList.plist',
'~/Library/Preferences/com.bohemiancoding.sketch3.plist',
'~/Library/Cookies/com.bohemiancoding.sketch3.binarycookies',
]
end