cask "asana" do arch arm: "arm64", intel: "x64" version "2.2.3" sha256 arm: "c27dedf0f9214cb9107f69ee94554e66b197a5bc7e0eace564a4e49febeb73fa", intel: "f53dbcb48bee651f4ca4bc478a2978804ea7dd39b32e35e09c4401dbb919a4a1" url "https://desktop-downloads.asana.com/darwin_#{arch}/prod/v#{version}/Asana-darwin-#{arch}-#{version}.zip" name "Asana" desc "Manage team projects and tasks" homepage "https://asana.com/" livecheck do url "https://desktop-downloads.asana.com/darwin_#{arch}/prod/RELEASES.json" strategy :json do |json| json["currentRelease"] end end auto_updates true depends_on macos: ">= :catalina" app "Asana.app" zap trash: [ "~/Library/Application Support/Asana", "~/Library/Caches/com.electron.asana", "~/Library/Caches/com.electron.asana.ShipIt", "~/Library/Preferences/com.electron.asana.plist", "~/Library/Saved Application State/com.electron.asana.savedState", ] end