cask "yinxiangbiji" do version "9.7.23_476500" sha256 "c3602b2756cec8a4f7db56a377748b9f058918316e321b7322984ebe1f577428" url "https://cdn.yinxiang.com/mac-smd/public/YinxiangBiji_RELEASE_#{version}.zip" name "Evernote" name "印象笔记" desc "Note taking app" homepage "https://www.yinxiang.com/" livecheck do url "https://www.yinxiang.com/download/get.php?file=EvernoteMac" regex(/YinxiangBiji[._-]RELEASE[._-]v?(\d+(?:[._]\d+)+)\.dmg/i) strategy :header_match end auto_updates true depends_on macos: ">= :mojave" app "印象笔记.app" uninstall quit: [ "com.yinxiang.Mac", "com.yinxiang.MacHelper", ] zap trash: [ "~/Library/Application Support/com.yinxiang.Mac", "~/Library/Application Support/com.yinxiang.MacHelper", "~/Library/Caches/com.evernote.edam.usage", "~/Library/Caches/com.yinxiang.Mac", "~/Library/Preferences/com.yinxiang.Mac.plist", "~/Library/Preferences/com.yinxiang.MacHelper.plist", ] end