Merge pull request #198952 from Homebrew/bump-vienna-assistant-1.2.483
[Homebrew/homebrew-cask.git] / Casks / m / meridiem.rb
blob686543e9277d2616646a11a413b52dfecab17b05
1 cask "meridiem" do
2   version "0.2.2"
3   sha256 "d820cdcd7548b281af3f45350372014aa23c7ff7a4b458e43c2e8f5a5120a283"
5   url "https://storage.googleapis.com/markwhen_binaries/Meridiem/darwin/arm64/Meridiem-darwin-arm64-#{version}.zip",
6       verified: "storage.googleapis.com/markwhen_binaries/"
7   name "Meridiem"
8   desc "Markdown editor"
9   homepage "https://meridiem.markwhen.com/"
11   livecheck do
12     url "https://storage.googleapis.com/markwhen_binaries/Meridiem/darwin/arm64/RELEASES.json"
13     strategy :json do |json|
14       json["currentRelease"]
15     end
16   end
18   depends_on macos: ">= :big_sur"
19   depends_on arch: :arm64
21   app "Meridiem.app"
23   zap trash: [
24     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.meridiem.sfl*",
25     "~/Library/Application Support/Meridiem",
26     "~/Library/Caches/com.electron.meridiem",
27     "~/Library/Caches/com.electron.meridiem.ShipIt",
28     "~/Library/HTTPStorages/com.electron.meridiem",
29     "~/Library/Logs/Meridiem",
30     "~/Library/Preferences/com.electron.meridiem.plist",
31     "~/Library/Saved Application State/com.electron.meridiem.savedState",
32   ]
33 end