excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wacom-inkspace.rb
blob0d92e3a3572cfb654da3b78e7638ab52595533e8
1 cask "wacom-inkspace" do
2   version "3.0.8"
3   sha256 "03e4e283538481ebbb27a7c961c9f49c7f57ab4c1594aa910fa6d38c1f5976d6"
5   url "https://cdn.wacom.com/i/m/mac/wacominkspaceappsetup-#{version}.dmg"
6   name "Wacom Inkspace"
7   homepage "https://www.wacom.com/en-us/products/inkspace"
9   livecheck do
10     url "https://www.wacom.com/en-us/overlays/products/wacom-inkspace-2019"
11     regex(/href=.*?wacominkspaceappsetup[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
12   end
14   app "Wacom Inkspace App.app"
16   zap trash: [
17     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.wacom-inkspace-app.sfl*",
18     "~/Library/Application Support/Wacom InkSpace App",
19     "~/Library/Caches/com.electron.wacom-inkspace-app",
20     "~/Library/Caches/com.electron.wacom-inkspace-app.ShipIt",
21     "~/Library/HTTPStorages/com.electron.wacom-inkspace-app",
22     "~/Library/Preferences/com.electron.wacom-inkspace-app.plist",
23     "~/Library/Saved Application State/com.electron.wacom-inkspace-app.savedState",
24   ]
26   caveats do
27     requires_rosetta
28   end
29 end