homebrew-cask/Casks/sketch.rb

24 lines
1.1 KiB
Ruby

cask 'sketch' do
version '45.2-43514'
sha256 'ac13e4052dee472b0c1c7722301342cd1e801f265515b194bbcf46488a105986'
url "https://download.sketchapp.com/sketch-#{version}.zip"
appcast 'https://download.sketchapp.com/sketch-versions.xml',
checkpoint: '2b649b7565e4528d530db9f5ee7f235e717bee842ab31cc108c03620b648cafd'
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