cask "todoist" do arch arm: "arm64", intel: "x64" version "9.9.0" sha256 arm: "882951616c66e63db643a6457c4e1b2878429e5921fd5dd5f1f9163e14368fbf", intel: "8eb8fd94768cf69c1de15d32415735f8f66c82b996b89da8977550f86f839e0f" url "https://electron-dl.todoist.com/mac/Todoist-darwin-#{version}-#{arch}-latest.dmg" name "Todoist" desc "To-do list" homepage "https://todoist.com/home" livecheck do url "https://electron-dl.todoist.com/mac/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :el_capitan" app "Todoist.app" zap trash: [ "~/Library/Application Scripts/*com.todoist.mac*", "~/Library/Application Support/Todoist", "~/Library/Containers/com.todoist.mac.Todoist*", "~/Library/Group Containers/*com.todoist.mac*", "~/Library/Logs/Todoist", "~/Library/Preferences/com.todoist.mac.Todoist.plist", "~/Library/Saved Application State/com.todoist.mac.Todoist.savedState", ] end