cask "space-capsule" do version "1.21" sha256 "032092f720703bd86eb826a00947c95a6f1025d39e82eed303765b345adc24a2" url "https://spacecapsule.app/downloads/Space%20Capsule%20#{version}.dmg" name "Space Capsule" desc "Spaces management tool" homepage "https://spacecapsule.app/" livecheck do url "https://spacecapsule.app/downloads/updates.xml" strategy :sparkle, &:short_version end auto_updates true depends_on macos: ">= :monterey" app "Space Capsule.app" uninstall quit: "com.knollsoft.Space-Capsule" zap trash: [ "~/Library/Application Support/Space Capsule", "~/Library/Caches/com.knollsoft.Space-Capsule", "~/Library/Cookies/com.knollsoft.Space-Capsule.binarycookies", "~/Library/HTTPStorages/com.knollsoft.Space-Capsule", "~/Library/HTTPStorages/com.knollsoft.Space-Capsule.binarycookies", "~/Library/Preferences/com.knollsoft.Space-Capsule.plist", "~/Library/Saved Application State/com.knollsoft.Space-Capsule.savedState", ] end