26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
cask 'sketch' do
|
|
version '67.2-100443'
|
|
sha256 '5a16b64eecb5288a6a185ae4a9d50c220dfa02d7da1fb3f957141187f6180444'
|
|
|
|
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
|
|
depends_on macos: '>= :mojave'
|
|
|
|
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
|