Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / s / smart-converter-pro.rb
blob80c1930749f784c5037790548a347c98e476f7fc
1 cask "smart-converter-pro" do
2   version "3.1.6"
3   sha256 "2ab2d7e478eba3c54a46480589a10a94c6c00627b7375eae710877acdecc5050"
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   ]
23 end