Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / n / notion.rb
blob6a3013869cffd3ce7bd82784014c95577110d693
1 cask "notion" do
2   arch arm: "-arm64"
3   livecheck_folder = on_arch_conditional arm: "arm64", intel: "latest"
5   version "4.4.0"
6   sha256 arm:   "b13a6a97e114ba10cc97dd36668fc90efdebde6e9eb79f2661655a6f96652172",
7          intel: "1473ebbb9072b9bf032809adaabf0462a1a28a4b25109052ff35783d57c5884f"
9   url "https://desktop-release.notion-static.com/Notion-#{version}#{arch}.dmg",
10       verified: "desktop-release.notion-static.com/"
11   name "Notion"
12   desc "App to write, plan, collaborate, and get organised"
13   homepage "https://www.notion.so/"
15   livecheck do
16     url "https://desktop-release.notion-static.com/#{livecheck_folder}-mac.yml"
17     strategy :electron_builder
18   end
20   auto_updates true
21   depends_on macos: ">= :big_sur"
23   app "Notion.app"
25   zap trash: [
26     "~/Library/Application Support/Caches/notion-updater",
27     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/notion.id.sfl*",
28     "~/Library/Application Support/Notion",
29     "~/Library/Caches/notion.id*",
30     "~/Library/Logs/Notion",
31     "~/Library/Preferences/ByHost/notion.id.*",
32     "~/Library/Preferences/notion.id.*",
33     "~/Library/Saved Application State/notion.id.savedState",
34     "~/Library/WebKit/notion.id",
35   ]
36 end