excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / superhuman.rb
blobb05e1e06315f6184d545bca1e2c41b04bc94502b
1 cask "superhuman" do
2   arch arm: "-arm64"
4   version "25.1.56"
5   sha256 arm:   "3b73df5db1300d72bd08b0f96a22bdfd49c44a36f0ca0f502f3729ce4b8610f7",
6          intel: "c118dc33f190298d3b03f7acfc22c318d119aecacc6ab756fcf2084bb73c5ee5"
8   url "https://storage.googleapis.com/download.superhuman.com/supertron-update/Superhuman-#{version}#{arch}-latest-mac.zip",
9       verified: "storage.googleapis.com/download.superhuman.com/supertron-update/"
10   name "Superhuman"
11   desc "Email client"
12   homepage "https://superhuman.com/"
14   livecheck do
15     url "https://storage.googleapis.com/download.superhuman.com/supertron-update/latest-mac.yml"
16     strategy :electron_builder
17   end
19   auto_updates true
21   app "Superhuman.app"
23   zap trash: [
24     "~/Library/Application Support/Superhuman",
25     "~/Library/Caches/com.superhuman.electron*",
26     "~/Library/Caches/Superhuman",
27     "~/Library/Logs/Superhuman",
28     "~/Library/Preferences/com.superhuman.electron.*",
29     "~/Library/Preferences/com.superhuman.mail.plist",
30     "~/Library/Saved Application State/com.superhuman.electron.savedState",
31   ]
32 end