Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / k / kit.rb
blob44205c8d3881a88488f1e71d35f53656e126ae2d
1 cask "kit" do
2   arch arm: "arm64", intel: "x64"
4   version "2.3.0"
5   sha256 arm:   "f539cc08975b88903bb3581c9712eab7d1a4fe845609d55dd3e8cc1df8c95245",
6          intel: "aa565e765143c470090dafd71373b85331d0d2a9d84409ee086d47b8120115b0"
8   url "https://github.com/johnlindquist/kitapp/releases/download/v#{version}/Kit-macOS-#{version}-#{arch}.dmg",
9       verified: "github.com/johnlindquist/kitapp/"
10   name "Script Kit"
11   desc "Create and run scripts"
12   homepage "https://www.scriptkit.com/"
14   livecheck do
15     url :homepage
16     regex(/href=.*?Kit[._-]macOS[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
17   end
19   depends_on macos: ">= :catalina"
21   app "Kit.app"
23   zap trash: [
24     "~/.kit",
25     "~/Library/Application Support/Kit",
26     "~/Library/Logs/Kit",
27   ]
28 end