homebrew-cask/Casks/sketchup.rb

24 lines
1.1 KiB
Ruby

cask 'sketchup' do
version :latest
sha256 :no_check
# downloads can be found at https://www.sketchup.com/download/all
# dl.trimble.com/sketchup was verified as official when first introduced to the cask
url 'https://dl.trimble.com/sketchup/SketchUpMake-en.dmg'
name 'SketchUp'
homepage 'http://www.sketchup.com/'
suite 'SketchUp 2017'
zap delete: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sketchup.sketchup.2017.sfl',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sketchup.stylebuilder.2017.sfl',
'~/Library/Application Support/SketchUp 2017',
'~/Library/Caches/com.sketchup.SketchUp.2017',
'~/Library/Cookies/com.sketchup.SketchUp.2017.binarycookies',
'~/Library/Preferences/com.sketchup.SketchUp.2017.plist',
'~/Library/Preferences/com.sketchup.SketchUp.2017.plist',
'~/Library/Preferences/Trimble.SketchUp-Helper.plist',
]
end