Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / m / medibangpaintpro.rb
blob755658c2fe7e07e9507b5c47139d015b4c5dcb53
1 cask "medibangpaintpro" do
2   version "29.1"
3   sha256 "c966c62fda937acc85c114e25202a113614d540ff493cde1eb42e7417335f3c8"
5   url "https://medibangpaint.com/static/installer/MediBangPaintPro/MediBangPaintPro-#{version}.dmg"
6   name "MediBang Paint Pro"
7   desc "Create digital art and comics"
8   homepage "https://medibangpaint.com/en/pc/"
10   livecheck do
11     url "https://medibangpaint.com/en/app-download/"
12     regex(%r{href=.*?/MediBangPaintPro-(\d+(?:\.\d+)*)\.dmg}i)
13   end
15   app "MediBangPaintPro.app"
17   zap trash: [
18     "~/Library/Application Support/CloudDocs/session/containers/iCloud.com.medibang.MediBangPaintTablet",
19     "~/Library/Application Support/CloudDocs/session/containers/iCloud.com.medibang.MediBangPaintTablet.plist",
20     "~/Library/Application Support/Medibang",
21     "~/Library/Preferences/com.medibang.cloudalpaca.plist",
22     "~/Library/Saved Application State/com.medibang.cloudalpaca.savedState",
23   ]
25   caveats do
26     requires_rosetta
27   end
28 end