homebrew-cask/Casks/notion.rb

23 lines
819 B
Ruby

cask "notion" do
version "2.0.8"
sha256 "a65b8108a3bfa0d9013bdab2c7c4e146ea244d9fd2a9203b674700e6399c8c4a"
# desktop-release.notion-static.com/ was verified as official when first introduced to the cask
url "https://desktop-release.notion-static.com/Notion-#{version}.dmg"
appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://www.notion.so/desktop/mac/download&user_agent=MacOS"
name "Notion"
homepage "https://www.notion.so/"
app "Notion.app"
zap trash: [
"~/Library/Application Support/Notion",
"~/Library/Caches/notion.id",
"~/Library/Logs/Notion",
"~/Library/Preferences/notion.id.helper.plist",
"~/Library/Preferences/notion.id.plist",
"~/Library/Saved Application State/notion.id.savedState",
"~/Library/WebKit/notion.id",
]
end