cask "funter" do version "7.0,361" sha256 "4843b560c9cdf1950a0a78f5e7c737df35a1bf213f723a88b10955ef1f2636d6" url "https://download.nektony.com/download/funter/Funter.dmg?build=#{version.csv.second}" name "Funter" desc "Shows hidden files and folders and switches their visibility in Finder" homepage "https://nektony.com/products/funter" livecheck do url "https://download.nektony.com/pro-support/v3/funter/update/update.xml" strategy :sparkle end depends_on macos: ">= :high_sierra" app "Funter #{version.major}.app" # MacCleaner files are part of the cask zap trash: [ "~/Library/Application Scripts/8DKG4XB37M.group.com.nektony.Funter-SIII", "~/Library/Application Scripts/8DKG4XB37M.group.com.nektony.MacCleaner-PRO-SIII", "~/Library/Application Scripts/com.nektony.Funter-SIII*", "~/Library/Application Support/com.nektony.Funter-SIII", "~/Library/Caches/com.nektony.Funter-SIII", "~/Library/Containers/com.nektony.Funter-SIII.FinderSyncExt*", "~/Library/Group Containers/8DKG4XB37M.group.com.nektony.Funter-SIII", "~/Library/Group Containers/8DKG4XB37M.group.com.nektony.MacCleaner-PRO-SIII", "~/Library/HTTPStorages/com.nektony.Funter-SIII", "~/Library/Preferences/com.nektony.Funter-SIII.plist", "~/Library/Saved Application State/com.nektony.Funter-SIII.savedState", ] end