homebrew-cask/Casks/notion.rb

23 lines
906 B
Ruby

cask 'notion' do
version '2.0.7'
sha256 '48915df088d544c7dc41767c14d9c165a5b867668270cd985875354af8b65166'
# 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