23 lines
932 B
Ruby
23 lines
932 B
Ruby
cask 'notion' do
|
|
version '2.0.5'
|
|
sha256 '42cea2d8d5c27a52a0ea73adf2e74e1aa1445aede602d1c7b4ac4d30343d622c'
|
|
|
|
# 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¶ms=%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
|