2 arch arm: "arm64", intel: "x64"
5 sha256 arm: "72191dd13e51d1b00c9c1845b5bdd59a354ad6c3db219619c09666f15abf0513",
6 intel: "aa110858f6fc80deb9e3626765c19de864d148687c32b4b794b2e02aee6c9215"
8 url "https://get.wiz.cn/x/wiznote-desktop-#{version}-mac-#{arch}.dmg"
10 desc "Note-taking application"
11 homepage "https://www.wiz.cn/"
14 url "https://url.wiz.cn/u/mac64_new"
15 regex(/wiznote[._-]desktop[._-]?(\d+(?:\.\d+)+).*?\.dmg/i)
16 strategy :header_match
20 depends_on macos: ">= :sierra"
25 "~/Library/Application Support/Caches/wiznote-desktop-updater",
26 "~/Library/Application Support/WizNote",
27 "~/Library/Caches/cn.wiznote.desktop",
28 "~/Library/Caches/cn.wiznote.desktop.ShipIt",
29 "~/Library/Logs/WizNote",
30 "~/Library/Preferences/ByHost/cn.wiznote.desktop.ShipIt.*.plist",
31 "~/Library/Preferences/cn.wiznote.desktop.plist",
32 "~/Library/Saved Application State/cn.wiznote.desktop.savedState",