homebrew-cask/Casks/notion.rb

23 lines
932 B
Ruby

cask 'notion' do
version '1.0.8'
sha256 'd67336c53125cf4b2b2723318a52e9ad10976ad3f4d9aeb60da6ad15fdd224b2'
# 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://www.macupdater.net/cgi-bin/extract_text/send_post_request.cgi?url=https://www.notion.so/api/v3/getDesktopDownloadUrl&params=%7B"platform":"mac"%7D'
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