cask "cozy-drive" do version "3.41.0" sha256 "5ba318c2851535ec2f3d7acafbd21a2b5537f38f0f5782e0864fcc407f69a297" url "https://github.com/cozy-labs/cozy-desktop/releases/download/v#{version}/Cozy-Drive-#{version}.dmg", verified: "github.com/cozy-labs/cozy-desktop/" name "Cozy Drive" desc "File synchronisation for Cozy Cloud" homepage "https://cozy.io/" livecheck do url "https://nuts.cozycloud.cc/download/channel/stable/osx" strategy :header_match end depends_on macos: ">= :sierra" app "Cozy Drive.app" zap trash: [ "~/.cozy-desktop", "~/Library/Application Support/Cozy Drive", "~/Library/Preferences/io.cozy.desktop.plist", "~/Library/Saved Application State/io.cozy.desktop.savedState", ] caveats do requires_rosetta end end