excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / youdaonote.rb
blobe323fdce0321794085214ff710d06ef8a1d85450
1 cask "youdaonote" do
2   version "8.0.80"
3   sha256 "0be85236086647f4ac4f0a21b032335a6dbb18ce64e519ea810441c3c0eb6eba"
5   url "https://artifact.lx.netease.com/download/ynote-electron/%E6%9C%89%E9%81%93%E4%BA%91%E7%AC%94%E8%AE%B0-#{version}.zip",
6       user_agent: :fake,
7       verified:   "artifact.lx.netease.com/download/ynote-electron/"
8   name "youdaonote"
9   name "有道云笔记"
10   desc "Multi-platform note application"
11   homepage "https://note.youdao.com/"
13   livecheck do
14     url "https://artifact.lx.netease.com/download/ynote-electron/latest-mac.yml"
15     strategy :electron_builder
16   end
18   app "有道云笔记.app"
20   zap trash: [
21     "~/Library/Containers/com.youdao.note.YoudaoNoteMac",
22     "~/Library/Saved Application State/com.youdao.YoudaoDict.savedState",
23   ]
25   caveats do
26     requires_rosetta
27   end
28 end