excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / screen-studio.rb
blob3609f9435bd9897888bdbfa5aeaa0d1f6b52bd90
1 cask "screen-studio" do
2   arch arm: "-arm64"
4   version "2.25.33"
5   sha256 arm:   "e5c5b73a7a7e3d3ca297a23e21f66820b3d234891ff40802715110ac1d45aae7",
6          intel: "41f3990c634f764d6fe37afba25b8da0e75152d04adb4746e49c29c90a4df28e"
8   url "https://screenstudioassets.com/Screen%20Studio-#{version}#{arch}-mac.zip",
9       verified: "screenstudioassets.com/"
10   name "Screen Studio"
11   desc "Screen recorder and editor"
12   homepage "https://screen.studio/"
14   livecheck do
15     url "https://screen.studio/api/trpc/appInfo.latestVersionInfo?input=%7B%22isBeta%22%3Afalse%7D"
16     strategy :json do |json|
17       json.dig("result", "data", "version")
18     end
19   end
21   auto_updates true
22   depends_on macos: ">= :high_sierra"
24   app "Screen Studio.app"
26   zap trash: [
27         "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.timpler.screenstudio.sfl*",
28         "~/Library/Application Support/Screen Studio",
29         "~/Library/Caches/com.timpler.screenstudio",
30         "~/Library/Caches/com.timpler.screenstudio.ShipIt",
31         "~/Library/HTTPStorages/com.timpler.screenstudio",
32         "~/Library/Preferences/com.timpler.screenstudio.plist",
33         "~/Library/Saved Application State/com.timpler.screenstudio.savedState",
34       ],
35       rmdir: "~/Screen Studio Projects"
36 end