excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / localcan.rb
blob9ce0f2452601a26c1a63fd030b94504dae190b5e
1 cask "localcan" do
2   arch arm: "arm64", intel: "x64"
4   version "2.3.7"
5   sha256 intel: "bddaa50ae68927a3b4298ef0d1ec992c35796d9f4c771201e1e58691f25260ae",
6          arm:   "bf2d6d880c5a1ed053eb25b2db605690068d7742b2e5eb822c11dc18866d50d8"
8   url "https://assets.localcan.com/download/LocalCan-#{version}-#{arch}.dmg"
9   name "LocalCan"
10   desc "Develop apps with Public URLs and .local domains"
11   homepage "https://www.localcan.com/"
13   livecheck do
14     url "https://www.localcan.com/download"
15     regex(/href=.*?LocalCan[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
16   end
18   depends_on macos: ">= :catalina"
20   app "LocalCan.app"
22   zap trash: [
23     "~/Library/Application Support/LocalCan",
24     "~/Library/Caches/com.electron.localcan*",
25     "~/Library/Logs/LocalCan",
26     "~/Library/Preferences/com.electron.localcan.plist",
27     "~/Library/Saved Application State/com.electron.localcan.savedState",
28   ]
29 end