excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / sketch@beta.rb
blobc1693db84e1c5c938d5437b0e643b4c85522123c
1 cask "sketch@beta" do
2   version "102,187550"
3   sha256 "b2c0bbbfd427e61a3f237884e65a31fc5a2f7258ad18713e8de36109a9a67940"
5   url "https://beta-download.sketch.com/sketch-#{version.csv.first}-#{version.csv.second}.zip"
6   name "Sketch"
7   desc "Digital design and prototyping platform"
8   homepage "https://www.sketch.com/beta"
10   livecheck do
11     url "https://beta-download.sketch.com/sketch-versions.xml"
12     strategy :sparkle
13   end
15   auto_updates true
16   depends_on macos: ">= :ventura"
18   app "Sketch Beta.app"
20   uninstall quit: "com.bohemiancoding.sketch3.beta"
22   zap trash: [
23     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.bohemiancoding.sketch3.beta.sfl*",
24     "~/Library/Application Support/com.bohemiancoding.sketch3.beta",
25     "~/Library/Caches/com.bohemiancoding.sketch3.beta",
26     "~/Library/Caches/com.plausiblelabs.crashreporter.data/com.bohemiancoding.sketch3.beta",
27     "~/Library/Cookies/com.bohemiancoding.sketch3.beta.binarycookies",
28     "~/Library/Logs/com.bohemiancoding.sketch3.beta",
29     "~/Library/Preferences/com.bohemiancoding.sketch3.beta.LSSharedFileList.plist",
30     "~/Library/Preferences/com.bohemiancoding.sketch3.beta.plist",
31   ]
32 end