homebrew-cask/Casks/sketchup.rb

24 lines
1.2 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'sketchup' do
2017-01-29 06:28:50 +08:00
version '2017'
sha256 '9a515fac2a3a4c0d32c90c2570e887395ae5c79511310d183624f24a6e436efa'
2015-06-29 14:32:18 +08:00
# downloads can be found at https://www.sketchup.com/download/all
2016-06-19 07:43:04 +08:00
# dl.trimble.com/sketchup was verified as official when first introduced to the cask
url 'https://dl.trimble.com/sketchup/SketchUpMake-en.dmg'
2015-05-01 02:39:22 +08:00
name 'SketchUp'
2017-02-26 07:37:01 +08:00
homepage 'https://www.sketchup.com/'
2017-01-29 06:28:50 +08:00
suite "SketchUp #{version}"
2014-11-22 00:54:25 +08:00
zap delete: [
2017-01-29 06:28:50 +08:00
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sketchup.sketchup.#{version}.sfl",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sketchup.stylebuilder.#{version}.sfl",
"~/Library/Application Support/SketchUp #{version}",
"~/Library/Caches/com.sketchup.SketchUp.#{version}",
"~/Library/Cookies/com.sketchup.SketchUp.#{version}.binarycookies",
"~/Library/Preferences/com.sketchup.SketchUp.#{version}.plist",
"~/Library/Preferences/com.sketchup.SketchUp.#{version}.plist",
'~/Library/Preferences/Trimble.SketchUp-Helper.plist',
]
2013-05-24 02:55:33 +08:00
end