homebrew-cask/Casks/f/funter.rb

34 lines
1.3 KiB
Ruby

cask "funter" do
version "6.2.1"
sha256 :no_check
url "https://download.nektony.com/download/funter/Funter.dmg"
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, &:short_version
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