excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wacom-tablet.rb
blobfdf6451123fbdf050c460edfbbe586034f565655
1 cask "wacom-tablet" do
2   version "6.4.8-2"
3   sha256 "616145dd108621e17b8ba737eddeeeda603d8c7106acaa802b37241f14240083"
5   url "https://cdn.wacom.com/u/productsupport/drivers/mac/professional/WacomTablet_#{version}.dmg"
6   name "Wacom Tablet"
7   desc "Resources for Wacom tablets"
8   homepage "https://www.wacom.com/en-us/support/product-support/drivers"
10   livecheck do
11     url :homepage
12     regex(%r{/WacomTablet[._-]?v?(\d+(?:\.\d+)+(?:[_-]\d+)?)\.dmg}i)
13   end
15   depends_on macos: ">= :catalina"
17   pkg "Install Wacom Tablet.pkg"
19   uninstall launchctl: [
20               "com.wacom.DataStoreMgr",
21               "com.wacom.IOManager",
22               "com.wacom.TabletDriver*",
23               "com.wacom.UpdateHelper",
24               "com.wacom.UpgradeHelper*",
25               "com.wacom.WacomCenter*",
26               "com.wacom.WacomExperienceProgram*",
27               "com.wacom.wacomtablet",
28             ],
29             quit:      [
30               "com.wacom.wacomtablet",
31               "com.wacom.WacomTouchDriver",
32             ],
33             pkgutil:   "com.wacom.TabletInstaller"
35   zap trash: [
36     "~/Library/Application Scripts/*.com.wacom.WacomTabletDriver",
37     "~/Library/Application Scripts/com.wacom.*",
38     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.wacom.wacomexperienceprogram.sfl*",
39     "~/Library/Containers/com.wacom.*",
40     "~/Library/Group Containers/*.com.wacom.WacomTabletDriver",
41     "~/Library/Group Containers/com.wacom.TabletDriver",
42   ]
43 end