homebrew-cask/Casks/sketch.rb

26 lines
1.1 KiB
Ruby

cask 'sketch' do
version '50-54983'
sha256 'af55074f4706635a626b8000e3d3874674696ff70600c8acf595eb53b8505b09'
url "https://download.sketchapp.com/sketch-#{version}.zip"
appcast 'https://download.sketchapp.com/sketch-versions.xml',
checkpoint: 'd0ebfd70624490a66b76e741997d869a1399c8fd7a77fdbe03e9f1f9c1dc0f50'
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