excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / yinxiangbiji.rb
blobbd6df6d50fa1dcb31e269982548844c6df38916c
1 cask "yinxiangbiji" do
2   version "9.7.24_476600"
3   sha256 "c383a1c334c49bf39a768bb2fce10a5c5b28dd04540feada7d895c4b7217b473"
5   url "https://cdn.yinxiang.com/mac-smd/public/YinxiangBiji_RELEASE_#{version}.zip"
6   name "Evernote"
7   name "印象笔记"
8   desc "Note taking app"
9   homepage "https://www.yinxiang.com/"
11   livecheck do
12     url "https://www.yinxiang.com/download/get.php?file=EvernoteMac"
13     regex(/YinxiangBiji[._-]RELEASE[._-]v?(\d+(?:[._]\d+)+)\.dmg/i)
14     strategy :header_match
15   end
17   auto_updates true
18   depends_on macos: ">= :mojave"
20   app "印象笔记.app"
22   uninstall quit: [
23     "com.yinxiang.Mac",
24     "com.yinxiang.MacHelper",
25   ]
27   zap trash: [
28     "~/Library/Application Support/com.yinxiang.Mac",
29     "~/Library/Application Support/com.yinxiang.MacHelper",
30     "~/Library/Caches/com.evernote.edam.usage",
31     "~/Library/Caches/com.yinxiang.Mac",
32     "~/Library/Preferences/com.yinxiang.Mac.plist",
33     "~/Library/Preferences/com.yinxiang.MacHelper.plist",
34   ]
35 end