cask "notion" do arch arm: "-arm64" livecheck_folder = on_arch_conditional arm: "arm64", intel: "latest" version "4.14.1" sha256 arm: "ed479099e546b541a3be0724b8697a808aeb9300fba562925ab14aafddde9ada", intel: "3fbaf7e09074fee3e1c8521937912ec13a50a4cce3a0a096416c0004e26fa3c7" url "https://desktop-release.notion-static.com/Notion-#{version}#{arch}.dmg", verified: "desktop-release.notion-static.com/" name "Notion" desc "App to write, plan, collaborate, and get organised" homepage "https://www.notion.com/" livecheck do url "https://desktop-release.notion-static.com/#{livecheck_folder}-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :big_sur" app "Notion.app" zap trash: [ "~/Library/Application Support/Caches/notion-updater", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/notion.id.sfl*", "~/Library/Application Support/Notion", "~/Library/Caches/notion.id*", "~/Library/Logs/Notion", "~/Library/Preferences/ByHost/notion.id.*", "~/Library/Preferences/notion.id.*", "~/Library/Saved Application State/notion.id.savedState", "~/Library/WebKit/notion.id", ] end