excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / apidog.rb
blob02a82b6ac58916ba351979c04eb55820fa77211f
1 cask "apidog" do
2   arch arm: "-macOS-arm64"
3   livecheck_folder = on_arch_conditional arm: "-arm64"
5   version "2.6.33"
6   sha256 arm:   "ad842631300edc37add927e6a8070623307c82cd6db1515364b99ff433443703",
7          intel: "e880080c7a602073ee64d94560a422c2a7c9f062bccf1759bd5893e01225b700"
9   url "https://file-assets.apidog.com/download/#{version}/Apidog#{arch}-#{version}.dmg"
10   name "Apidog"
11   desc "API development platform"
12   homepage "https://apidog.com/"
14   livecheck do
15     url "https://api.apidog.com/api/v1/configs/client-updates/latest/mac#{livecheck_folder}/latest-mac.yml"
16     strategy :electron_builder
17   end
19   auto_updates true
20   depends_on macos: ">= :el_capitan"
22   app "Apidog.app"
24   zap trash: [
25     "~/Library/Application Support/apidog",
26     "~/Library/Preferences/com.apidog.app.plist",
27     "~/Library/Saved Application State/com.apidog.app.savedState",
28   ]
29 end