excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wondershare-edrawmax.rb
blobddc288b567249667c1b1394a87e36b4bd0f6670e
1 cask "wondershare-edrawmax" do
2   version "12.6.1"
3   sha256 :no_check
5   language "zh", "CN" do
6     url "https://cc-download.edrawsoft.cn/edraw-max_cn_full5381.dmg"
7     homepage "https://www.edrawsoft.cn/"
8     app "亿图图示.app"
9   end
10   language "en", default: true do
11     url "https://download.edrawsoft.com/edraw-max_full5380.dmg"
12     homepage "https://www.edrawsoft.com/"
13     app "Wondershare EdrawMax.app"
14   end
16   name "EdrawMax"
17   desc "Diagram software"
19   livecheck do
20     url "https://www.edrawsoft.com/whats-new/edrawmax.html"
21     regex(/EdrawMax\s*V?(\d+(?:\.\d+)+)/i)
22   end
24   zap trash: [
25     "~/Library/Edraw",
26     "~/Library/Preferences/com.edrawsoft.edrawmax.plist",
27     "~/Library/Saved Application State/com.edrawsoft.edrawmax.savedState",
28   ]
29 end