cask "youdaonote" do version "8.0.70" sha256 "c69565d06d917ee79bf74f2ebbe4bc68c97d128c9db28400ca19378bb03a3321" 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", user_agent: :fake, verified: "artifact.lx.netease.com/download/ynote-electron/" name "youdaonote" name "有道云笔记" desc "Multi-platform note application" homepage "https://note.youdao.com/" livecheck do url "https://artifact.lx.netease.com/download/ynote-electron/latest-mac.yml" strategy :electron_builder end app "有道云笔记.app" zap trash: [ "~/Library/Containers/com.youdao.note.YoudaoNoteMac", "~/Library/Saved Application State/com.youdao.YoudaoDict.savedState", ] caveats do requires_rosetta end end