cask "smart-converter-pro" do version "3.1.6" sha256 "2ab2d7e478eba3c54a46480589a10a94c6c00627b7375eae710877acdecc5050" url "https://download.shedworx.com/scp#{version.major}/SmartConverterPro-#{version}.dmg" name "Smart Converter Pro" desc "Video converter" homepage "https://shedworx.com/smart-converter-pro" livecheck do url "https://shedworx.com/download/?product=scp3" regex(/href=.*?SmartConverterPro[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end no_autobump! because: :requires_manual_review depends_on macos: ">= :high_sierra" app "Smart Converter Pro #{version.major}.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.shedworx.smartconverter.sfl*", "~/Library/Containers/com.shedworx.smartconverter", ] end