homebrew-cask/Casks/sketch.rb

24 lines
1.1 KiB
Ruby

cask 'sketch' do
version '40.3'
sha256 '483cc58a972b7225b4e7698c69f047f26aa473a10ac887d79e602d36d8ba9bf8'
url "https://download.sketchapp.com/sketch-#{version}.zip"
appcast 'https://www.sketchapp.com/appcast3.xml',
checkpoint: 'd54103e6b19f3350b05ab27ac449de7d5f08d163095150541c6a83c3f21b81fc'
name 'Sketch'
homepage 'https://www.sketchapp.com/'
app 'Sketch.app'
zap delete: [
'~/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