cask "downie" do version "4.8.4,4821" sha256 "51dc762cae4e0ed1bc7f9c851c9faba0fbf0a899ccaf486f7aaa3a91981a6eb1" url "https://software.charliemonroe.net/trial/downie/v#{version.major}/Downie_#{version.major}_#{version.csv.second}.dmg" name "Downie" desc "Downloads videos from different websites" homepage "https://software.charliemonroe.net/downie.php" livecheck do url "https://software.charliemonroe.net/trial/downie/v#{version.major}/updates.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :mojave" app "Downie #{version.major}.app" zap trash: [ "~/Library/Application Scripts/com.charliemonroe.Downie*", "~/Library/Application Scripts/D43XN356JM.Downie", "~/Library/Caches/com.apple.helpd/Generated/com.charliemonroe.DownieHelp*", "~/Library/Caches/com.charliemonroe.Downie-#{version.major}", "~/Library/Containers/com.charliemonroe.Downie*", "~/Library/Group Containers/com.charliemonroe.Downie.Safari", "~/Library/Group Containers/D43XN356JM.Downie", "~/Library/Preferences/com.charliemonroe.Downie-#{version.major}.plist", ] end