excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / smart-converter-pro.rb
blob00b2f73f257c8d6406b7c228e82e878ea2a3907f
1 cask "smart-converter-pro" do
2   version "3.1.6"
3   sha256 "6690f2c2fa5c8147699ca5226b37f6177a01ff0df93c5f77c4254e86a81e0d18"
5   url "https://download.shedworx.com/scp#{version.major}/SmartConverterPro-#{version}.dmg"
6   name "Smart Converter Pro"
7   desc "Video converter"
8   homepage "https://shedworx.com/smart-converter-pro"
10   livecheck do
11     url "https://shedworx.com/download/?product=scp3"
12     regex(/href=.*?SmartConverterPro[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
13   end
15   depends_on macos: ">= :high_sierra"
17   app "Smart Converter Pro #{version.major}.app"
19   zap trash: [
20     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.shedworx.smartconverter.sfl*",
21     "~/Library/Containers/com.shedworx.smartconverter",
22   ]
24   caveats do
25     requires_rosetta
26   end
27 end